Paypal - 计费周期长短?
Paypal - billing cycle length?
没有什么比 PayPal 文档更让我困惑的了。
基本上我正在尝试设置定期付款。每个月支付 400.50 欧元 'Membership' 当然他们提供的按钮失败了,但我找到了一些例子并想出了:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<input type="hidden" name="business" value="example@example.com">
<input type="hidden" name="return" value="http://www.example.com">
<input type="hidden" name="cancel_return" value="http://www.example.com">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="item_name" value="Membership" />
<input type="hidden" name="src" value="1"> <!-- recurring=yes -->
<input type="hidden" name="sra" value="1"> <!-- reattempt=yes -->
<input type="hidden" name="p3" value="1"> <!-- billing cycle length -->
<input type="hidden" name="a3" value="400.50" />
<input type="hidden" name="t3" value="M">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_subscribe_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
- "billing cycle length" 应该是什么值 - 现在默认为 1?
- 这是否意味着一旦用户点击我的按钮 - 每个月都会提取一笔付款,或者它只会工作一次(即 1 个值)?
根据this PayPal documentation p3
是订阅期限,应与t3
的值一起使用。
这是该页面的详细信息:
p3 - Required
Subscription duration. Specify an integer value in the allowable range for the units of duration that you specify with t3.
t3 - Required
Regular subscription units of duration.
Allowable values are:
D — for days; allowable range for p3 is 1 to 90
W — for weeks; allowable range for p3 is 1 to 52
M — for months; allowable range for p3 is 1 to 24
Y — for years; allowable range for p3 is 1 to 5
因此当前配置是仅1个月的循环付款。
希望对您有所帮助!
使用 "srt",某些值大于 1
<input type="hidden" name="src" value="1" />
<input type="hidden" name="srt" value="12" /><!--- 12 Month, paypal allowedonly 12 Month i think--->
没有什么比 PayPal 文档更让我困惑的了。
基本上我正在尝试设置定期付款。每个月支付 400.50 欧元 'Membership' 当然他们提供的按钮失败了,但我找到了一些例子并想出了:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<input type="hidden" name="business" value="example@example.com">
<input type="hidden" name="return" value="http://www.example.com">
<input type="hidden" name="cancel_return" value="http://www.example.com">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="item_name" value="Membership" />
<input type="hidden" name="src" value="1"> <!-- recurring=yes -->
<input type="hidden" name="sra" value="1"> <!-- reattempt=yes -->
<input type="hidden" name="p3" value="1"> <!-- billing cycle length -->
<input type="hidden" name="a3" value="400.50" />
<input type="hidden" name="t3" value="M">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_subscribe_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
- "billing cycle length" 应该是什么值 - 现在默认为 1?
- 这是否意味着一旦用户点击我的按钮 - 每个月都会提取一笔付款,或者它只会工作一次(即 1 个值)?
根据this PayPal documentation p3
是订阅期限,应与t3
的值一起使用。
这是该页面的详细信息:
p3 - Required
Subscription duration. Specify an integer value in the allowable range for the units of duration that you specify with t3.
t3 - Required
Regular subscription units of duration. Allowable values are:
D — for days; allowable range for p3 is 1 to 90
W — for weeks; allowable range for p3 is 1 to 52
M — for months; allowable range for p3 is 1 to 24
Y — for years; allowable range for p3 is 1 to 5
因此当前配置是仅1个月的循环付款。
希望对您有所帮助!
使用 "srt",某些值大于 1
<input type="hidden" name="src" value="1" />
<input type="hidden" name="srt" value="12" /><!--- 12 Month, paypal allowedonly 12 Month i think--->