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
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 S.
<[email protected]
wrote:
ViewMe http://vizualize.me/loganathan
–
Regards by
Saravanan.P
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
Ain’t :rm stands for redirect method? You got to use GET because with
POST
redirect without authenticity token of rails app your session will be
cleared as a security measure.
2013/3/28 Saravanan P [email protected]
This may be you are passing wrong values.
On Thu, Mar 28, 2013 at 6:54 PM, Loganathan S. <
Mob: +91 7760780741 | +91 9944414388
You received this message because you are subscribed to the Google G.
“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.
–
Pagarbiai,
Gintautas