Issue with Session Cookies and Express Checkout
Before anyone asks, yes I've implemented the recent code in the sticky thread posted here: showthread.php?t=12914
But I continue to have issues.
Specifically: after clicking the express paypal link, the user is routed through the Paypal screens to select payment source and confirm payment. Then they should be brought back and presented with the pp_confirm.php, but instead they are ending up at cart.php with the message that their shopping cart is empty.
Looking closer on this, it appears that there is some correlation with what the site is trying to do with respect to identity management. If the user has not logged in prior to checking out (and going to paypal for authorization), when they return from paypal a new session appears to be created. Both cookies (the original and the new PHPSESSID cookies) appear to be present.
It does appear that if I log in before checking out with paypal, I do not experience the problem.
What can I do to remedy this issue?