Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Paypal Adaptive Payments API like Kickstarter uses Amazon Payments?

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.

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?

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

like image 619
paravion Avatar asked May 14 '10 07:05

paravion


2 Answers

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.

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.

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:

CodeIgniter Library - 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

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.

like image 85
balazs.bohonyi Avatar answered Sep 30 '22 13:09

balazs.bohonyi


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.

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

like image 26
Jonathon Hill Avatar answered Sep 30 '22 12:09

Jonathon Hill