使用 PayPal 订阅按钮,除非取消,否则循环计费是否会无限期地继续?
With PayPal subscribe button, does the recurring billing continue indefinitely unless cancelled?
我使用 PayPal 标准按钮 html 代码创建了一个 Subscribe
按钮,如下所示。订阅计费周期为每月。例如,用户以每月 150 美元的价格注册白银级订阅或以每月 200 美元的价格注册黄金级订阅。
问题 : 是否会每月自动向用户收取每月的账单金额indefinitely
直到用户取消订阅,或者有一个最大次数会自动收费吗?
我找不到任何关于此的文档,所以只是想确定一下。
订阅按钮代码
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="XE3412D6UV2A">
<input type="hidden" name="return" value="http://localhost/loadsprocure/paymentcompleted.aspx" />
<input type="hidden" name="custom" value="23V125,new,architect" />
<table>
<tr><td><input type="hidden" name="on0" value="Plan Options">Plan Options</td></tr>
<tr>
<td>
<select name="os0">
<option value="Basic">Basic : 0.00 USD - monthly</option>
<option value="Silver">Silver : 0.00 USD - monthly</option>
<option value="Gold">Gold : 0.00 USD - monthly</option>
</select>
</td>
</tr>
</table>
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
您可以在此处找到更多详细信息:https://developer.paypal.com/docs/classic/express-checkout/integration-guide/ECRecurringPayments/
简而言之:
When you support recurring payments for a buyer, you create a
recurring payments profile. The profile contains information about the
recurring payments, including details for an optional trial period and
a regular payment period. Both periods contain information about the
payment frequency and payment amounts, including shipping and tax, if
applicable.
After creating a profile, PayPal automatically queues payments based
on the billing start date, billing frequency, and billing amount.
Payments reoccur until the profile expires, there are too many failed
payments to continue, or you cancel the profile.
(注意:此消息中通知的所有屏幕截图均来自 PayPal 沙盒环境,而非实时环境)
我的发现令人惊讶。即使使用订阅按钮,如果您使用我原来 post 中的代码,您最终也可以创建非经常性付款。但是,如果我添加了下面的代码,那么它会创建一个循环配置文件 如果没有这个额外的代码,订阅计费会在当前付款后停止,您可以从订阅通知的屏幕截图中看到这一点post.
<input type="hidden" name="src" value="1"><!--creates a recurring payment-->
当我包含上面的代码并创建订阅时,我收到了以下通知,其中清楚地说明了下一个付款日期并且还提到了没有停止日期。
定期付款订阅通知
使用我在问题 post 中的代码,Subscribe
按钮令人惊讶地创建了一个非经常性账单。我是如何通过查看 https://developer.paypal.com/developer/notifications/ 上的通知来了解这一点的。以下是使用原始 html 代码创建的订阅通知的屏幕截图。
非定期付款订阅通知
src
变量在 https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/ 的 PayPal 文档中描述如下。
src
来自 PayPal 的变量文档
我使用 PayPal 标准按钮 html 代码创建了一个 Subscribe
按钮,如下所示。订阅计费周期为每月。例如,用户以每月 150 美元的价格注册白银级订阅或以每月 200 美元的价格注册黄金级订阅。
问题 : 是否会每月自动向用户收取每月的账单金额indefinitely
直到用户取消订阅,或者有一个最大次数会自动收费吗?
我找不到任何关于此的文档,所以只是想确定一下。
订阅按钮代码
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="XE3412D6UV2A">
<input type="hidden" name="return" value="http://localhost/loadsprocure/paymentcompleted.aspx" />
<input type="hidden" name="custom" value="23V125,new,architect" />
<table>
<tr><td><input type="hidden" name="on0" value="Plan Options">Plan Options</td></tr>
<tr>
<td>
<select name="os0">
<option value="Basic">Basic : 0.00 USD - monthly</option>
<option value="Silver">Silver : 0.00 USD - monthly</option>
<option value="Gold">Gold : 0.00 USD - monthly</option>
</select>
</td>
</tr>
</table>
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
您可以在此处找到更多详细信息:https://developer.paypal.com/docs/classic/express-checkout/integration-guide/ECRecurringPayments/
简而言之:
When you support recurring payments for a buyer, you create a recurring payments profile. The profile contains information about the recurring payments, including details for an optional trial period and a regular payment period. Both periods contain information about the payment frequency and payment amounts, including shipping and tax, if applicable.
After creating a profile, PayPal automatically queues payments based on the billing start date, billing frequency, and billing amount. Payments reoccur until the profile expires, there are too many failed payments to continue, or you cancel the profile.
(注意:此消息中通知的所有屏幕截图均来自 PayPal 沙盒环境,而非实时环境)
我的发现令人惊讶。即使使用订阅按钮,如果您使用我原来 post 中的代码,您最终也可以创建非经常性付款。但是,如果我添加了下面的代码,那么它会创建一个循环配置文件 如果没有这个额外的代码,订阅计费会在当前付款后停止,您可以从订阅通知的屏幕截图中看到这一点post.
<input type="hidden" name="src" value="1"><!--creates a recurring payment-->
当我包含上面的代码并创建订阅时,我收到了以下通知,其中清楚地说明了下一个付款日期并且还提到了没有停止日期。
定期付款订阅通知
使用我在问题 post 中的代码,Subscribe
按钮令人惊讶地创建了一个非经常性账单。我是如何通过查看 https://developer.paypal.com/developer/notifications/ 上的通知来了解这一点的。以下是使用原始 html 代码创建的订阅通知的屏幕截图。
非定期付款订阅通知
src
变量在 https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/ 的 PayPal 文档中描述如下。
src
来自 PayPal 的变量文档