I am trying to implement PayPals IPN in my Symfony Application. Users can buy credits in their account settings and they can pay them through PayPal. Now i want to receive Paypals Instant Payment Notification messages to be immediately informed, when the payment was successfuly.
I followed this Video Tutorial here and integrated that code in my Symfony application. I made that action available through the link myproject.com/advertiser/account/paypalnotification.
The thing is, when i try to use the IPN Simulator and enter the url and use the transaction type "Web Accept" i get the error: "We could not send an IPN due to an HTTP error".
The reason why is that this simulation gets an 500 status code due to a CSRF Token mismatch.
Anybody know how to solve this problem?