<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="cmd" value="_xclick-auto-billing" /> <!-- _xclick-subscriptions works here -->
<input type="hidden" name="a3" value="1" />
<input type="hidden" name="p3" value="12" />
<input type="hidden" name="t3" value="M" />
<input type="hidden" name="src" value="1" />
<input type="hidden" name="no_note" value="1" />
<input type="submit" name="submit" />
<input type="hidden" value="PP-SubscriptionsBF" name="bn">
</form>
我试图找出_xclick-subscriptions
和_xclick-auto-billing
之间的区别。当cmd
值为_xclick-subscriptions
时,以上表格适用。但是,当我将其替换为_xclick-auto-billing
时,Paypal返回错误页面,提示“项目金额”不正确。我检查了Paypal's documentation,但是关于_xclick-auto-billing
的解释或示例并不多。那么我应该如何使用此cmd
和有什么区别?
[这样做时,请取消选中第2部分中的选项以将按钮保存在PayPal。查看生成的代码时,单击选项以删除代码保护。然后,您将获得可以适应您的需求的示例工作HTML。
如果无法创建这样的按钮,那是因为您的帐户不支持该按钮。一般而言,订阅得到更广泛的支持,应改为使用订阅。
代替旧式的订阅按钮,请考虑使用计划和产品作为基础并提供更现代的结账体验的新智能付款按钮。参见https://www.paypal.com/billing/plans