This project is read-only.

Help from those who have worked implementing Paypal under Orchard: how do they deal with the IPN POST and Antiforgery

Topics: Customizing Orchard, Troubleshooting, Writing modules
Apr 17, 2013 at 1:22 PM
I have not seen a parameter allowing to have IPN use a GET rather than a Post ?
Is there a way on paypal side-merchant params to do it ? I have succesfully set the PDT to use GET but no success for IPN.

Problem is AntiForgery is at the module level in Orchard, would be nice to be able to say 'in this controller, this action has not antiforgery check' !

I know I could move all the IPN code inside a new module, but it is a kind of oversized solution for one method in one controller....
Apr 18, 2013 at 9:35 AM
Ok I discovered testing more that it's working, my original antiforgery problems were on the cart sending and pdt return, I was forced to tell paypal using GET.
Apparently, no pb with IPN POST from Paypal.
My understanding of antiforgery token+cookie and related testing has to be improved.