Session Lost after Paypal redirection

Skip to first unread message

Loganathan Sellapa

unread,
Mar 28, 2013, 9:17:34 AM3/28/13
to bangal...@googlegroups.com
Hi All,

I am using PAYAPAL payment  type in my application where I am storing the user's product id in a session. But the session variable is getting lost when the page is redirected back to my application from PAYPAL webiste, any suggestion will be really appreciated.

regards,
Loganathan
Mob: +91 7760780741 | +91 9944414388
Skype: loganathan.sellappa
ViewMe

Satish Kota

unread,
Mar 28, 2013, 11:03:33 AM3/28/13
to bangal...@googlegroups.com

Generally it shouldn’t happen, we have data in session before and after coming back form paypal… but in your case if its missing, then you could do one thing… send product id to paypal and retrieve it back form paypal…on success / cancel…

 

Thanks and Regards

Satish N Kota

Director, Heurion

Creator, TestimonialsFor

@phone: +91 98862 03255

@testifor: http://www.testifor.com/satishnkota

www.testifor.com – What others say, Matters!!!

--
You received this message because you are subscribed to the Google Groups "BANGALORE RUG-Ruby Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bangalorerug...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Gautam Rege

unread,
Mar 28, 2013, 12:13:10 PM3/28/13
to bangal...@googlegroups.com, <bangalorerug@googlegroups.com>
It seems you're using Paypal Express checkout and not Pro APIs. 

 When PayPal issues the callback, it us essentially independent  of the session (otherwise it opens up scope for session hacking). 

PayPal can be configured with pass-through params which you should use for sending product_id. 

- Gautam
Sent from my iPhone

Loganathan Sellapa

unread,
Mar 28, 2013, 3:30:24 PM3/28/13
to bangal...@googlegroups.com

Hi All,

Thanks for your responses, the session was null due to authenticity token verfication failure. Now I made the paypal redirect request as GET method so the issue is fixed.

Regards,
Logan

Sent from mobile device.

Reply all
Reply to author
Forward
0 new messages