关于订阅的几个问题

Few questions about subscriptions

我在 PayPal 的论坛上提出了这些问题,但没有得到任何答复。希望我能把它们送到这里:)

据我所知,如果我想整合订阅,我可以通过两种方式实现

第一个是使用表单集成订阅按钮,如下所示:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">

<!-- Identify your business so that you can collect the payments. -->
<input type="hidden" name="business" value="businessEmail">

<!-- Specify a Subscribe button. -->
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<!-- Identify the subscription. -->
<input type="hidden" name="item_name" value="Alice's Weekly Digest">
<input type="hidden" name="item_number" value="DIG Weekly">

<!-- Set the terms of the regular subscription. -->
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="a3" value="5.00">
<input type="hidden" name="p3" value="1">
<input type="hidden" name="t3" value="M">

<input type="hidden" name="notify_url" value="notify url">

<!-- Set recurring payments until canceled. -->
<input type="hidden" name="src" value="1">

<!-- Display the payment button. -->
<input type="image" name="submit"
src="https://www.paypalobjects.com/en_US/i/btn/btn_subscribe_LG.gif"
alt="Subscribe">
<img alt="" width="1" height="1"
src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" >

我想这种方法弊大于利,它允许我在不创建产品和订阅计划的情况下创建订阅..? 但另一方面,这样创建订阅的用户不能更改订阅,只能取消?此外,我无法更改 'notify_url' 如果我更改我的网站?

创建订阅的第二种方法是使用订阅API。创建产品和计划,据我所知,这给了我们更多的控制权,并消除了 HTML 表单订阅的缺点。

谢谢!

你说的一切都是正确的,我唯一要补充的是,还有一个生成器可以用于旧的 HTML 'Subscribe' 和新的 JS 'PayPal Subscribe' 按钮: https://www.paypal.com/buttons

如果您希望旧生成器创建可编辑代码,您应该取消选中第 2 步选项以在 PayPal 上保存按钮,然后在生成按钮后单击上面的 link 以删除代码保护.