Testing recurring payments in the Paypal sandbox

纵然是瞬间 提交于 2019-11-29 10:56:38
PP_MTS_Chad

One day is the shortest timeframe you can set. You used to be able to test recurring payments that billed every minute, but this was disabled shortly after it was rolled out. What some merchants have done in the past if they did not want to wait the full day was to set up their own IPN simulator, similar to what is currently on the developer.paypal.com site. The difference is that they would set it up to pass over all the recurring payment details. Basically, it was just a form that posted over all of the variables that PayPal would have sent. Otherwise, you would have to wait the full day for the profiles to bill again.

As I commented in the accepted answer, it's possible to 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 the additional fields you require (like recurring_payment_id), which will be sent with the IPN to your specified URL. Once you've added your additional fields, copy the html so you can add it every time you want to use it. I'm considering writing a grease monkey extension (or something) that adds some javascript to the page, allowing for additional IPN types, like those needed for recurring payments.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!