像Kickstarter一样使用Paypal Adaptive Payments API使用Amazon Payments?

时间:2022-10-14 14:23:10

I'm wondering if it's possible to use Paypal Adaptive Payments in the way that Kickstarter.com are using Amazon Payments to collect/fundraise.

我想知道是否可以像Kickstarter.com使用Amazon Payments收集/筹款一样使用Paypal自适应支付。

For example: A user sets up a project. People pledge $5 to that project, and if it meets a goal, the system then automatically extracts the money from everyone, and puts it into user who created the projects paypal account. Is this possible using Paypal?

例如:用户设置项目。人们向该项目承诺5美元,如果它达到目标,系统会自动从每个人中提取资金,并将其投入创建项目paypal帐户的用户。这可能使用Paypal吗?

Are there any good PHP libraries supporting Adaptive Payments, if this is possible?

是否可以使用支持自适应支付的优秀PHP库?

5 个解决方案

#1


15  

I was also looking for the same answer since I am working on a similar crowdfunding platform as Kickstarter is, but I need to use PayPal.

我也在寻找相同的答案,因为我正在使用与Kickstarter类似的众筹平台,但我需要使用PayPal。

After a lot of Googling and reading about PayPal's Adaptive Payments API I found out that it's possible by using the Preapproval API and then if the project is funded I can use Chained Payments to send the money to the project creator and to also retain a small fee (a percentage) for using the crowdfunding platform.

经过大量谷歌搜索和阅读PayPal的自适应支付API后,我发现可以使用预批准API,然后如果项目获得资金,我可以使用链式支付将钱汇给项目创建者并保留少量费用(百分比)使用众筹平台。

If you are looking for some PHP libraries you can found 2 versions at the links below. One is a library for the CodeIgniter framework and the other one is a PHP API class that can be used anywhere. So, here are the links:

如果您正在寻找一些PHP库,您可以在下面的链接中找到2个版本。一个是CodeIgniter框架的库,另一个是可以在任何地方使用的PHP API类。那么,这里是链接:

CodeIgniter Library - http://www.binpress.com/app/paypal-adaptive-payments-pro-codeigniter-library/140

CodeIgniter库 - http://www.binpress.com/app/paypal-adaptive-payments-pro-codeigniter-library/140

PHP API Class - http://www.binpress.com/app/php-paypal-pro-adaptive-api-class/612

PHP API类 - http://www.binpress.com/app/php-paypal-pro-adaptive-api-class/612

I see now that your question is 2 years old, I just hope this answer helps others looking for answers regarding PayPal's Adaptive Payments API.

我现在看到你的问题是2年了,我希望这个答案可以帮助其他人寻找有关PayPal的自适应支付API的答案。

#2


7  

Yes, it is possible using the Adaptive Payments Preapproval API. When someone 'pledges' would be when you set up the preapproval, and then you can run that preapproved transaction at some future time without any additional interaction required.

是的,可以使用Adaptive Payments Preapproval API。当有人'承诺'是您设置预批准时,然后您可以在将来某个时间运行该预先批准的交易,而无需任何额外的交互。

PayPal has developed a PHP SDK with libraries and examples to get you started.

PayPal开发了一个带有库和示例的PHP SDK,以帮助您入门。

#3


2  

If you're going to use PayPal, there's a good Ruby gem: adaptivepayments-sdk-ruby

如果您打算使用PayPal,那么有一个很好的Ruby gem:adaptivepayments-sdk-ruby

#4


1  

This answer is a couple of years late but better late than never! The one downside to using the Adaptive Payments Preapproval API for a Kickstarter type of system is that you can't guarantee the "pledge" will be valid when you go to make the withdrawal, since it is possible for the user to cancel their pledge at any time.

这个答案是迟了几年,但迟到总比没有好!使用自适应支付预批准API用于Kickstarter类型系统的一个缺点是,当您进行提款时,您不能保证“质押”有效,因为用户可以取消他们的承诺任何时候。

#5


0  

I've been working on a crowdfunding project similar to kickstarter. I started out using paypal's adaptive payments for this kind of thing but I eventually switched to wepay's preapproval api. I'm glad I did. For one thing, their documentation is clearer and better organized with good examples in PHP, Ruby and Python.

我一直致力于一个类似于kickstarter的众筹项目。我开始使用paypal的自适应支付这种事情,但我最终切换到wepay的preapproval api。我很高兴我做到了。首先,他们的文档更清晰,更好地组织在PHP,Ruby和Python中。

#1


15  

I was also looking for the same answer since I am working on a similar crowdfunding platform as Kickstarter is, but I need to use PayPal.

我也在寻找相同的答案,因为我正在使用与Kickstarter类似的众筹平台,但我需要使用PayPal。

After a lot of Googling and reading about PayPal's Adaptive Payments API I found out that it's possible by using the Preapproval API and then if the project is funded I can use Chained Payments to send the money to the project creator and to also retain a small fee (a percentage) for using the crowdfunding platform.

经过大量谷歌搜索和阅读PayPal的自适应支付API后,我发现可以使用预批准API,然后如果项目获得资金,我可以使用链式支付将钱汇给项目创建者并保留少量费用(百分比)使用众筹平台。

If you are looking for some PHP libraries you can found 2 versions at the links below. One is a library for the CodeIgniter framework and the other one is a PHP API class that can be used anywhere. So, here are the links:

如果您正在寻找一些PHP库,您可以在下面的链接中找到2个版本。一个是CodeIgniter框架的库,另一个是可以在任何地方使用的PHP API类。那么,这里是链接:

CodeIgniter Library - http://www.binpress.com/app/paypal-adaptive-payments-pro-codeigniter-library/140

CodeIgniter库 - http://www.binpress.com/app/paypal-adaptive-payments-pro-codeigniter-library/140

PHP API Class - http://www.binpress.com/app/php-paypal-pro-adaptive-api-class/612

PHP API类 - http://www.binpress.com/app/php-paypal-pro-adaptive-api-class/612

I see now that your question is 2 years old, I just hope this answer helps others looking for answers regarding PayPal's Adaptive Payments API.

我现在看到你的问题是2年了,我希望这个答案可以帮助其他人寻找有关PayPal的自适应支付API的答案。

#2


7  

Yes, it is possible using the Adaptive Payments Preapproval API. When someone 'pledges' would be when you set up the preapproval, and then you can run that preapproved transaction at some future time without any additional interaction required.

是的,可以使用Adaptive Payments Preapproval API。当有人'承诺'是您设置预批准时,然后您可以在将来某个时间运行该预先批准的交易,而无需任何额外的交互。

PayPal has developed a PHP SDK with libraries and examples to get you started.

PayPal开发了一个带有库和示例的PHP SDK,以帮助您入门。

#3


2  

If you're going to use PayPal, there's a good Ruby gem: adaptivepayments-sdk-ruby

如果您打算使用PayPal,那么有一个很好的Ruby gem:adaptivepayments-sdk-ruby

#4


1  

This answer is a couple of years late but better late than never! The one downside to using the Adaptive Payments Preapproval API for a Kickstarter type of system is that you can't guarantee the "pledge" will be valid when you go to make the withdrawal, since it is possible for the user to cancel their pledge at any time.

这个答案是迟了几年,但迟到总比没有好!使用自适应支付预批准API用于Kickstarter类型系统的一个缺点是,当您进行提款时,您不能保证“质押”有效,因为用户可以取消他们的承诺任何时候。

#5


0  

I've been working on a crowdfunding project similar to kickstarter. I started out using paypal's adaptive payments for this kind of thing but I eventually switched to wepay's preapproval api. I'm glad I did. For one thing, their documentation is clearer and better organized with good examples in PHP, Ruby and Python.

我一直致力于一个类似于kickstarter的众筹项目。我开始使用paypal的自适应支付这种事情,但我最终切换到wepay的preapproval api。我很高兴我做到了。首先,他们的文档更清晰,更好地组织在PHP,Ruby和Python中。