问题描述
我想测试贝宝(PayPal)订阅IPN,既包括创建订阅时收到的IPN,也包括后来在下一次付款时发送的IPN(例如,如果订阅为每月$ x,则按月发送).
I'd like to test paypal subscription IPNs, both the ones received when a subscription is created, and the ones sent later with the next payment (such as monthly if the subscription is $x per month).
但是,我不想等待一个月或一天来接收第二个IPN.有没有办法使用Paypal或沙盒更快地发送IPN,例如每小时发送一次?
However I'd prefer not to wait a month or a day to receive the second IPN. Is there a way to have an IPN sent quicker, such as hourly, using paypal or their sandbox?
在文档中说,您只能指定年,月,日和周作为订阅期.
On the documentation it says you can only specify years, months, days, and weeks as the subscription period.
推荐答案
过去,以天为单位指定的时间段将被测试服务器视为分钟,因此在指定"d3"时每隔3分钟就会被调用一次.我认为他们删除了此功能,并且我不知道有任何替代功能可以测试订阅.
It used to be that the period specified in days would be treated by the test server as minutes so you'd be called every 3 minutes when specified 'd3'. I think they removed this and I'm not aware of any replacement feature to test subscriptions.
这篇关于测试Paypal订阅IPN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!