本文介绍了更改每月支付的贝宝定期付款帐户的金额的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

情况就是这样

我在网站上有三种用户注册方式

  1. 每月$ 20
  2. 每月$ 30
  3. $ 40/月

现在,假设用户以30美元的金额进行注册并进行了第二次注册...接下来的2个月,他按照每月的paypal定期付款扣除了他的每月$ 30 ...工作罚款.

现在,他想升级到40美元(即第3个会员资格),因此从下个月开始,他的扣除额应为40美元...如何为这种金额的变化更新贝宝..

我不想为此前往贝宝网站...

是否有用于此目的的任何API.......任何帮助将不胜感激.

解决方案

首先,贝宝(Paypal)的API 不是容易使用或简单使用,但是您所要求的可以完成.只需通过API取消现有的定期付款配置文件",然后开始另一笔同时结束的定期付款即可.

API方法本身会根据您所使用的系统而变化.在我公司,我们使用Paypal网站付款专业版.它具有执行动作的一组特定功能.但是,在不知道您使用哪个系统的情况下,我们无法提供任何进一步的建议.

以下链接显示了适用于不同Paypal API的多种方法.做您的研究,并尝试提出特定的问题. :)

https://cms.paypal .com/us/cgi-bin/?cmd = _render-content& content_ID = developer/howto_api_reference

Daniel Moniz

The situation is like this,

I have three kind of user registration on my site

  1. $20/month
  2. $30/month
  3. $40/month

now, suppose a user registers with $30 amount and takes the 2nd registration...next 2 months his $30 per month were deducted as per the recurring payment of paypal...working fine .:)

Now, he wants to upgrade to $40 i.e 3rd membership , so from next month his amount deduction should be $40... How to update paypal for this change in amount..

I DON'T WANT TO GO TO PAYPAL'S SITE FOR THIS...

Is there any API for this purpose.......Any help would be appreciated....

解决方案

First off, Paypal's API is not a simple or easy thing to use, but what you're asking can be done. It is simply a matter of canceling the existing 'recurring payment profile' via the API, and starting another recurring payment that ends at the same time.

The API methods themselves change depending on which system you are using. At my company, we use Paypal Website Payments Pro. This has a specific set of functions to perform actions. Without knowing which system you use, however, we can't give any further advice.

The below link shows a number of the methods for the different Paypal API's. Do your research, and try to ask specific questions. :)

https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/howto_api_reference

Daniel Moniz

这篇关于更改每月支付的贝宝定期付款帐户的金额的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 15:56