简体   繁体   中英

PayPal Recurring Payments Billing frequency

I am implementing paypal in my website first time so can anybody tell me that how can i test recurring payments as the Minuimum billing cycle is day and frequency is 1 so should i have to wait for one day to check the IpN handler hits? or is there any other way to test recurring payment without waiting?

Thanks in advance

If you need to test subscriptions or recurring payment IPN's you can easily do so by creating your own HTML form and setting the action to your IPN listener URL.

Add hidden fields to the form that match the fields you would expect to get from PayPal, which you can see by doing an actual transaction on the sandbox to get that first IPN, and then duplicate it in your test form.

This way, you can submit the form directly to your IPN listener and actually see the result on the screen. This is also useful for troubleshooting.

The only thing you need to consider is that when testing this way the IPN will not verify because the original data did not come from PayPal. You could easily handle this in your code for testing purposes.

Once you have everything working the way you want like this you can rest assured it will work the same way for actual IPN's received from PayPal.

To the best of my knowledge, there is no way other than waiting to test PayPal subscriptions. You cannot run the sandbox under an artificial clock:

Similar question:

Testing Paypal subscription IPN

PayPal Documentation:

PayPal Payments Standard Integration Guide

您可以根据需要在paypal沙箱上测试它

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM