Click here to Skip to main content
15,892,575 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The situation just like this
My client went to my store to buy stuffs, so once user select a product put into the shopping cart I gennerate a cookie, when this user go throught the payment system, after vertify paid from paypal, I clear the cookie.

Strange thing happen there, when I click my cart again, the paid products still in the cart,need my manually click some where else, then the cart clear.

or Manually refresh the page.

Doesn't anyone know how to solve this problem?
Posted

1 solution

You should think to a solution without using cookies, on the action associated with the event "Return from PayPal" (with success) you should do the clearing of the shopping cart (in your code behind) then redirect to your shop.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900