Reputation: 720
I have a website that acts as a broker for a transaction, which the customer can pay using PayPal.
Scenario
The Website(Adam) accepts payment using PayPal from the Customer(George), but pays the money to a third Paypal account (Fred). Adam gets no money. But Adam needs to provide an Api Signature, password etc as the owner of the website to make the calls.
1) I am assuming right now, that if I provide the API details from Adam's PayPal account (Business), Adam is going to get the payment rather than Fred - who is the intended receiver?
2) Do I need to apply for an adaptive account rather than just plugging in the API details as I had originally thought?
3) How do I make Fred get the money from George, by only using Adam as the broker/gateway?
Upvotes: 0
Views: 86
Reputation: 26056
If Adam does not need to keep any funds at all, and you're simply building a checkout that uses Adam's API credentials but sends the money to Fred, then I would recommend using the Express Checkout API.
The Express Checkout experience is a little nicer, more feature packed, and does not require you to get an app approved like Adaptive Payments does.
Express Checkout consists of 3 API calls.
You can use the PAYMENTREQUEST_n_PAYMENTREQUESTID parameter in the SEC and DECP calls to specify Fred's PayPal email or account ID, and the money will be dropped directly into that account.
If you happen to be working with PHP I'd recommend taking a look at my PHP class library for PayPal. It will make those API calls very quick and easy for you.
Upvotes: 2