Testing recurring payments in the Paypal sandbox

I read this post and this one , and I did not find my solution.

I am trying to verify recurring payments using the Paypal Standard payment system. The problem is that the minimum frequency period for recurring payments is 1 day (1D). And this time is too long for a proper check.

I read this article indicating that if you set the period to 1D in the sandbox, the IPN call is made every minute, but I couldn’t get it working.

Do you know that you have full control over re-payments?

Thanks in advance.

+5
source share
2 answers

One day is the shortest timeframe you can set. You used to check recurring payments that were billed every minute, but this was turned off shortly after its deployment. What some merchants did in the past if they did not want to wait all day was to set up their own IPN simulator, similar to what is now available on developer.paypal.com . The difference is that they set it up to transmit all recurring payment details. Basically, it was just a form placed above all the variables that PayPal would send. Otherwise, you will have to wait for the full day of billing again.

+1
source

As I noticed in the accepted answer, you can add fields by editing the HTML via firebug / chrome dev tools to add additional fields to the IPN sent by the IPN simulator. This way you can add additional fields that you need (for example, recurring_payment_id) that will be sent from IPN to the URL you specify. After adding additional fields, copy html so you can add it every time you want to use it. I am considering writing extensions for the fat monkey (or something else) that add some javascript to the page, which allows you to use additional types of IPN, for example, necessary for repeated payments.

+3
source

Source: https://habr.com/ru/post/914574/


All Articles