贝宝订阅 +定期付款
我对 Paypal 订阅有一些疑问。 我们正在托管一个网站,我们希望为我们的客户提供订阅功能。 我们已经通过沙盒订阅功能实现了这一点。它运行良好。 我们想为我们的客户添加一项折扣功能。 根据规定,享受折扣优惠的客户可以在一定期限内以折扣金额使用网站。折扣期过后,金额将改为正常金额。需要在一定时间后定期更新金额。用户仅在第一次注册订阅。之后,必须将订阅修改为常规金额,而无需其他用户干预。我们如何更新/修改订阅以更改折扣期后的常规金额,而不打扰用户。 请帮我解决这个问题..
谢谢..
I have some doubts regarding Paypal Subscription.
We are hosting a website and we would like to give a subscription feature to our customers.
We have implemented that with the sandbox subscription feature. It is working fine.
We would like to add one feature of discount to our customers.
According to that the customers with the discount offer can use the site for a certain period with an discounted amount.After the discount period,the amount will be changed to regular amount. It requires the updation of regular amount after a certain period. The user will register the subscription first time only. After that the the subscription has to be modified to the regular amount without another user intervention. How can we update/modify subscription to change the regular amount after discount period, without disturbing the user.
Kindly help me on this..
Thanks..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
CreateRecurringPaymentsProfile API(Express Checkout 和 Website Payments Pro 用户均可访问)以及常规订阅按钮 (https ://www.paypal.com/buttonfactory/)都在其设计中支持试用期。因此,您不需要修改/更新订阅。
对于 CreateRecurringPaymentsProfile,只需传递您想要立即收费的 INITAMT,并将 STARTDATE 设置为您想要开始实际定期付款的未来日期。
对于订阅按钮,请使用按钮生成器,或分别传递 a1、t1 和 p1 参数来添加试用期。
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_r_CreateRecurringPayments
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_Appx_websitestandard_htmlvariables#id08A6HI00JQU
如果您仍想更新定期付款并且/或订阅,请查看 UpdateRecurringPaymentsProfile API。
The CreateRecurringPaymentsProfile API (accessible to both Express Checkout as well as Website Payments Pro users) as well as a regular subscription button (https://www.paypal.com/buttonfactory/) both support trial periods by in their design. Thus, you wouldn't need to modify/update the subscription.
For the CreateRecurringPaymentsProfile, simply pass along an INITAMT you want to be charged immediately, and set the STARTDATE to a date in the future when you want to have the actual recurring payment start.
For a subscription button, use the button generator, or pass the a1, t1 and p1 parameter respectively to add a trial period.
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_r_CreateRecurringPayments
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_Appx_websitestandard_htmlvariables#id08A6HI00JQU
If you still want to update a recurring payment and/or subscription, have a look at the UpdateRecurringPaymentsProfile API.