PayPal Express Checkout Success Page Refresh Issue
As this is the first time I have included an Express Checkout Button in an eCart site I am finding lots of little "foibles" :-)
On the pp_checkout_success.php page I include a clear cart and empty session variables statement after the closing html tag to ensure the cart is cleared after the page is loaded so that the cart is still displayed as the order confirmation but if the customer goes back into the site there are no items left in their cart. This logic works successfully on the checkout_success.php page which normal credit card transactions are sent to so there must be a page refresh when the pp_checkout_success.php loads but I am not sure where it is taking place or what is causing it.
So my question is how / why is the page refresh taking place ?