简体   繁体   English

使用单个请求管理PayPal捐赠,添加到购物车和订阅

[英]Managing PayPal Donations, Add to Cart and Subscription using single request

I am using website payments standard and I have the following requirement. 我正在使用网站付款标准,并且具有以下要求。 Please let me know if a solution is available for website payments standard. 请让我知道网站支付标准是否有解决方案。

I already have subscriptions integrated to my website. 我已经将订阅集成到我的网站中。 I would like to have a feature that enables the user to donate a dynamic amount along with the subscription. 我想拥有一个功能,使用户可以随订阅一起捐赠动态金额。 For that, I plan to add an additional text field for the amount in my payment page. 为此,我计划在付款页面中为金额添加一个附加文本字段。 I would like to know if it is possible to manage both donations and subscriptions in the same request. 我想知道是否可以在同一请求中同时管理捐赠和订阅。

Let me be more clear about the requirement. 让我更清楚这个要求。

When the user clicks a custom subscribe button, a page with a text field to enter a donation amount will be displayed. 当用户单击自定义订阅按钮时,将显示一个带有文本字段以输入捐赠金额的页面。 Suppose, the user enters a random amount. 假设用户输入一个随机量。 The user will then click the PayPal subscribe button and will be taken to the PayPal site for the payment. 然后,用户将单击PayPal订阅按钮,并将带到PayPal网站进行付款。 Both the subscription and donation have to be managed separately so that I can easily identify which one is subscription fee and which one is donated amount by looking into the PayPal statements. 订阅和捐赠都必须分别进行管理,这样我可以通过查看PayPal语句轻松识别出哪个是订阅费,哪个是捐赠金额。

Please let me know if this is possible with website payments standard. 请让我知道网站付款标准是否可行。 If not, can you please help me how to achieve this? 如果没有,您能帮我实现这个目标吗?

My additional requirements are: 我的其他要求是:

  1. I need to combine Add to cart button and Donations too. 我也需要结合“添加到购物车”按钮和“捐赠”。
  2. I would like to manage subscriptions just like Add to cart feature. 我想管理订阅,就像添加到购物车功能一样。 ie, Paying for multiple subscriptions at once. 即一次支付多个订阅。

I am looking forward to your reply. 期待您的回复。

Is not possible to make both "Donations" and "subscriptions" in a single payment. 不能在一次付款中同时进行“捐赠”和“订阅”。 Unless you treat the donation as an additional amount for your subscriptions initial payment. 除非您将捐赠视为订阅初始付款的额外金额。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM