Post by jtsroberts » Wed Aug 08, 2012 9:29 am

I'm looking to add some code once the user completes payment successfully, ideally before the render method for common/success.tpl is called.

Is the file catalog/controller/checkout/success.php the best place to run this code? It's a simple curl post script to send some user data to an external form. There is no need for logging the response at all, it's a one-way post.

The curl script will need access to the user details such as First Name, Surname, Email, Phone.

New member

Posts

Joined
Wed Nov 11, 2009 4:24 pm

Post by jtsroberts » Wed Aug 08, 2012 11:31 am

I ended up putting it in this file, works a treat!

New member

Posts

Joined
Wed Nov 11, 2009 4:24 pm
Who is online

Users browsing this forum: No registered users and 9 guests