Hey Guys,
Let me write down the steps to reproduce my problem:
Reproduce steps:
1. Customer login my site( <goog_1244938295219>https://www.mysite.com);
2. Choose a product and redirect to Paypal sandbox site(
https://developer.paypal.com/cgi-bin/devscr) to complete the payment;
3. After the payment, the customer will be auto redirected to my site;
4. And then the customer session was lost.

I find the solution in Paypal forums, said that :

You could pass your "session variable" Through PayPal variable "custom" than
read it back in when the buyer is returned to your site after completing the
PayPal payment or through the IPN POST.

You could also use an authentication cookie which would stick around while
the customer made a payment on PayPal's website and when they returned to
your site they would still be authorized.

I try to store the session in my post form and get it after the redirect
from paypal site.
And then I use $this->Session->id($lastSessionID) to restore it. But fail as
before.

Is there anybody has the idea how to implement it in Cake App?
Appreciate for any reply from you.

-- 
Thanks
Joshua

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to