在 Paypal 沙箱中测试定期付款 [英] Testing recurring payments in the Paypal sandbox

查看:23
本文介绍了在 Paypal 沙箱中测试定期付款的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已阅读这篇帖子,以及这个,我没有找到我的解决方案.

I've read this post, and this one, and I didn't find my solution.

我正在尝试使用 Paypal 标准付款系统测试定期付款.问题是定期付款的最小频率周期是 1 天 (1D).这是一个太长时间来正确测试.

I'm trying to test the recurring payments using the Paypal Standard payment system. The problem is that the minumum frequency period for recurring payments is 1 day (1D). And this is a too long time to test correctly.

我读了这篇文章 说如果你设置了期限到沙箱中的 1D,每分钟调用一次 IPN,但我无法使其工作.

I read this article saying that if you setup the period to 1D in the sandbox, the call to the IPN is done each minute, but I was unable to make it work.

您知道有什么方法可以完全控制测试定期付款吗?

Do you know any way to have full control to test the recurring payments?

推荐答案

一天是您可以设置的最短时间范围.您曾经能够测试每分钟计费的定期付款,但在推出后不久就被禁用了.如果不想等待一整天,一些商家过去所做的就是设置自己的 IPN 模拟器,类似于当前 developer.paypal.com 站点上的内容.不同之处在于,他们会将其设置为忽略所有经常性付款详细信息.基本上,它只是一个表格,上面张贴了 PayPal 会发送的所有变量.否则,您将不得不等待一整天才能再次向配置文件收费.

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.

这篇关于在 Paypal 沙箱中测试定期付款的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆