【发布时间】:2017-01-08 20:05:32
【问题描述】:
我们正在尝试使用 Paypal 的订阅功能在我们的网站上实现订阅。我们想要的是让 Paypal 执行循环流程,即使第一次付款失败,直到我们或订阅用户手动取消订阅配置文件。
如果我们将 MAXFAILEDPAYMENTS 变量设置为零,这意味着即使付款失败,Paypal 仍将继续执行循环流程。 但是要指定变量,我们必须使用 NVP/SOAP API。
我们可以使用支付表单中指定的基本 HTML 代码来实现同样的目的吗?
<input type="hidden" name="a3" value="1">
<input type="hidden" name="t3" value="M"> <!-- billing cycle unit=month -->
<input type="hidden" name="p3" value="1"> <!-- billing cycle length -->
<input type="hidden" name="src" value="1"> <!-- recurring=yes -->
<input type="hidden" name="sra" value="0"> <!-- reattempt=no -->
{{--End of recurring variables--}}
【问题讨论】:
标签: paypal paypal-subscriptions