You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 27, 2019. It is now read-only.
We have implemented a custom PayPal payment provider and it works as expected. One defect that we can't resolve is that the basket doesn't get emptied on a completed purchase.
I thought there should be code in HandlePaymentResponse that would take care of this but I am not sure that it would have access to cookies at this point.
Can anyone help please?
The text was updated successfully, but these errors were encountered:
I also had trouble with this, I managed to recycle the basket by reseting the cookie expire time. If you check your cookies on your browser for the site you should find a cookie labelled "OrderId" with the name of your stores alias appended to the end. If you set the value to an empty string and set the expiry date to DateTime.Now then this will force uWebShop to start a brand new basket. It's not elegant in any way, but after a lot of time spent going through the uWebShop code to find a function that recycles the basket, nothing popped up so this was my best and simplest option.
Thanks
Jamie
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We have implemented a custom PayPal payment provider and it works as expected. One defect that we can't resolve is that the basket doesn't get emptied on a completed purchase.
I thought there should be code in HandlePaymentResponse that would take care of this but I am not sure that it would have access to cookies at this point.
Can anyone help please?
The text was updated successfully, but these errors were encountered: