Paypal 关于订阅的几个问题

Paypal 关于订阅的几个问题,paypal,paypal-subscriptions,Paypal,Paypal Subscriptions,我在PayPal论坛上问了这些问题,但没有得到任何答案。希望我能在这里找到它们:) 因此,据我所知,如果我想集成订阅,我可以通过两种方式实现 第一个是使用表单集成subscription按钮,如下所示: <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <!-- Identify your business so that you can collec

我在PayPal论坛上问了这些问题,但没有得到任何答案。希望我能在这里找到它们:)

因此,据我所知,如果我想集成订阅,我可以通过两种方式实现

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

<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" >

我想这种方法弊大于利,它允许我创建订阅,而无需为订阅创建产品和计划。。? 但另一方面,以这种方式创建订阅的用户不能更改订阅,只能取消订阅?此外,如果我更改我的网站,我不能更改“通知url”

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


谢谢大家!

您所说的一切都是正确的,我要补充的唯一一点是,还有一个生成器,您可以用于旧的HTML“订阅”和新的JS“贝宝订阅”按钮,位于:

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