简体   繁体   English

PayPal定期付款结算频率

[英]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? 我是第一次在我的网站上实现paypal所以任何人都可以告诉我,如何测试定期付款,因为Minuimum结算周期是一天,频率是1所以我是否应该等待一天检查IpN处理程序命中? 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. 如果您需要测试订阅或定期付款IPN,您可以通过创建自己的HTML表单并将操作设置为IPN侦听器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. 在表单中添加与您希望从PayPal获得的字段匹配的隐藏字段,您可以通过在沙箱上执行实际事务来获取第一个IPN,然后在测试表单中复制它。

This way, you can submit the form directly to your IPN listener and actually see the result on the screen. 这样,您可以将表单直接提交给您的IPN侦听器,并在屏幕上实际查看结果。 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. 您需要考虑的唯一事情是,当以这种方式测试时,IPN将无法验证,因为原始数据不是来自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. 一旦你按照你想要的方式工作,你可以放心,它将以同样的方式工作,从PayPal收到实际的IPN。

To the best of my knowledge, there is no way other than waiting to test PayPal subscriptions. 据我所知,除了等待测试PayPal订阅之外别无他法。 You cannot run the sandbox under an artificial clock: 你不能在人工时钟下运行沙箱:

Similar question: 类似的问题:

Testing Paypal subscription IPN 测试Paypal订阅IPN

PayPal Documentation: PayPal文档:

PayPal Payments Standard Integration Guide PayPal付款标准集成指南

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 .NET中的PayPal定期付款 - PayPal recurring payments in .net PayPal - ExpressCheckout和定期付款 - PayPal - ExpressCheckout and Recurring Payments 分期付款的PayPal定期付款 - PayPal Recurring Payments for Installment Donations 试用期的贝宝定期付款 - PayPal recurring payments with Trial period PayPal访客结帐,用于沙盒中的定期付款 - PayPal Guest Checkout for Recurring Payments in Sandbox Paypal ASP.NET 核心 MVC 中可变金额的定期付款 - Paypal recurring payments with variable amount in ASP.NET Core MVC Paypal中定期付款的IPN与正常发票付款有什么不同的参数? - IPN of recurring payments in Paypal have any different parameters than the normal invoice payment? PayPal自适应付款 - 通过IPN / API检索发件人的帐单邮寄地址? - PayPal Adaptive Payments - retrieving sender's billing address via IPN / API? 贝宝(PayPal)定期结算-是否可以使用试用期并仍可同时向某人收费 - PayPal Recurring Billing - Is there a way to use a trial period and still bill a person at the same time 使用托管页面通过Express Checkout和信用卡付款进行Paypal高级定期结算 - Paypal Advanced Recurring billing with Express Checkout and Credit card payment using hosted pages
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM