Paypal:xclick自动计费如何工作?

问题描述 投票:1回答:1
<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和有什么区别?

paypal paypal-subscriptions
1个回答
0
投票
通常,除非您能够通过https://www.paypal.com/buttons生成示例自动计费按钮,否则不应使用自动计费

[这样做时,请取消选中第2部分中的选项以将按钮保存在PayPal。查看生成的代码时,单击选项以删除代码保护。然后,您将获得可以适应您的需求的示例工作HTML。

如果无法创建这样的按钮,那是因为您的帐户不支持该按钮。一般而言,订阅得到更广泛的支持,应改为使用订阅。

代替旧式的订阅按钮,请考虑使用计划和产品作为基础并提供更现代的结账体验的新智能付款按钮。参见https://www.paypal.com/billing/plans

© www.soinside.com 2019 - 2024. All rights reserved.