Jump to content

How to keep cart session even after payment completed using prestashop 1.6


ruslyrossi

Recommended Posts

Hi,

 

i tried to create pending order before go to payment gateway and after payment completed i want to update pending order to another status.

 

When i generate pending order, i'm using function validateOrder() and after payment completed i update pending order to another status with custom function completePendingOrder().

 

Now the problem is i cannot get the cart session after payment complete and i notice after run function validateOrder() the cart session will destroy. 

 

Where is prestashop clear the cart session under validateOrder() function? i can't find the line at this moment. 

 

 

PS Version: prestashop 1.6.1.1

Link to comment
Share on other sites

  • 6 years later...

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...