测试 Paypal 订阅 IPN [英] Testing Paypal subscription IPN

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

问题描述

我想测试贝宝订阅 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.有没有办法更快地发送 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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