Hi Saravanan, Thanks, Fixed it by disabling the forgery protection for PAYPAL post request.
regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe <http://vizualize.me/loganathan> On Thu, Mar 28, 2013 at 7:03 PM, Saravanan P <[email protected]>wrote: > Hi loganathan, > > I also faced this issue. > My devise logout once paypal redirect to my site. > > > :return => return_url, > :custom => "test", > :rm => 1, > > This may be you are passing wrong values. > In my case, before i set "rm" value 2. so that my devise get logout. but i > dont know this is the real cause. > Once i change rm to 1 my issue solved. > So please check your passing param value to paypal. > > Thank you! > SaraVanaN.P > > > > On Thu, Mar 28, 2013 at 6:54 PM, Loganathan Sellapa < > [email protected]> wrote: > >> 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 becomes nil when >> the page is redirected back to my application from PAYPAL website, any >> suggestion will be really appreciated. >> regards, >> Loganathan >> Mob: +91 7760780741 | +91 9944414388 >> Skype: loganathan.sellappa >> ViewMe <http://vizualize.me/loganathan> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > Regards by > Saravanan.P > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

