Jump to content

Check Out Through Other Payment Gateway


Recommended Posts



I've successfully integrated a payment gateway that's provided by my local bank. The only remaining part which is quite confusing me is: how do I process the order after getting back from the bank website.


The bank is sending me the information encrypted. I am decrypting the information and reading the values. Within the values there's a "ResponseCode". If the "ResponseCode" value is "1" then I should process the order and display a note to the end user on the screen telling them that their payment is accepted and to send them an email with the invoice. Which page in Prestashop should handle this part and how do I do this?


I was thinking about how Cash-On-Delivery handles this after clicking the "confirm" button, but I couldn't figure it out!


For simplicity, this is the algorithm I want to perform:



// Redirect the user to the success order page and send an email with the invoice and empty the cart

end if


Thank you in advance.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More