I didn't quite understand is it possible to split a payment
among several merchants using the REST API?
If so can anyone reference to an example (preferably PHP)
Google didn't quite find anything for me on the matter.
thanks.
REST does not support the full suite of calls that Classic does. You will have to implement Classic (NVP or SOAP) to get to Adaptive payments, where you can split payments via Chained Payments
This page talks about Chained Payments and all the examples it gives are Classic NVP
https://developer.paypal.com/docs/classic/adaptive-payments/ht_ap-basicChainedPayment-curl-etc/
As of this point in time it is not supported to do what you are asking. The options as suggested by others are to use Adaptive Payments or Express Checkout. I tend to prefer the former but to each his own.
Just to quote from their page
The Adaptive Payments API allows merchants and developers to pay
almost anyone and set up automated payments. They can create
applications that manage payments, payment preapprovals, and refunds.
They can also send money peer-to-peer, split payments in both parallel
and chained models, accept guest payments, and schedule disbursements.
The Adaptive Payments API works on multiple platforms including the
web and mobile environments.
The link is Adpative Payments
After going through the above link and understanding the basics, it should be easy to follow the steps mention Here as mentioned by the above answer as well
Not at this time. You would have to use either Adaptive Payments or Express Checkout.
https://github.com/paypal/adaptivepayments-sdk-php
use this sdk to integrate paypal adaptive payment.
Related
Recently, I implemented the PayPal Commerce Platform
How it is different from PayPal Adaptive Chained Payments, using Express Checkout?
That's an open-ended question. Some essential differences are that PayPal Adaptive Payments is no longer supported for new integrations, so it's not really an option anymore. And PayPal Commerce Platform may not yet have an option for chaining payments to multiple receivers.
I see that Adaptive Payments are deprecated. So, as a new user, I am not able to use that.
What are ways to have same thing as SPLIT payments? (which was available with adaptive payments). What is being currently used to achieve that?
Split payments is supported in either Express Checkout (using the Classic APIs) or with PayPal for Partners.
We are researching a way to automatically pay the developers of e-commerce modules we sell on our web shop. A lot of reading suggest the Paypal Adaptive Parallel Payment should be the solution. But Paypal developer docs seem to say that this API is now restricted and no option. If so, is there a new API from Paypal. The Braintree marketplace is no option for us in Europe
Express Checkout supports parallel payments as well -- https://developer.paypal.com/docs/classic/express-checkout/ht_ec-parallelPayments/
Actually Adaptive Payments are still supported now. You may try access below page to apply for an APP ID. If your application is approved, you may still continue integrate with Adaptive Payments.
https://www.paypal-apps.com/user/my-account/applications
We all know documentations can be poorly writting sometimes, but Paypal's documentation really is on another level. I've been trying to wrap my head around the Express Checkout server side rest API, to no avail.
A couple of questions:
Is it even possible to use Express Checkout for recurring payments?
If yes, where do I get the paymentID for the agreement.
If I use the rest API with Express Checkout, do I have to be PCI pci compliant?
Yes, of course it's possible. PayPal's documentation is great, but it's just a matter of knowing exactly what you need. They have so many products and options for integrating their services that it can be a bit overwhelming.
Here is a quick reference for all the REST APIs. For recurring payments you'll want to study the Billing Agreements and Billing Plans sections.
Another option which would make things very quick and easy is to take a look at our PayPal PHP class library. It has functional samples and empty templates for all the Express Checkout calls.
I am new to PayPal integrating and need to integrate PayPal recurring for subscriptions. I googled for that, but I am confused with below questions.
Which API should I use with PayPal recurring, WPS or Paypal express checkout? Which one will be good?
Is there any good example or help to integrate this?
Thanks a ton in advance.
Good overview of recurring payments: Handling recurring payments
I'm using the Lionite PHP Paypal class. It's not free, but even if you're not going to use it, read through that page because it contains some useful info that is omitted from the Paypal docs.
If I understand correctly, Express Checkout requires your customer to set up a Paypal account, so Website Payments Standard would be a better option.
Unfortunately the Paypal SDK only has code examples for direct payment. If you want to use Website Payments Pro with Direct Payment, be aware of PCI compliance (which can be expensive and time-consuming) and also be aware that services like BrainTree exist which have transparent redirect, thus helping you to avoid PCI compliance (I haven't used this service however).
Express checkout code example: https://github.com/hrendoh/PayPal-Recurring-Payment-example
Set up your sandbox account at http://developer.paypal.com
Update: IPN for recurring payments is a nightmare. Not only are the recurring payment IPN responses completely undocumented, but none of the support staff I talked to had a clue about them either (in some cases they gave me incorrect answers to questions). Here is a list that others have put together, but all of these resources are incomplete:
https://www.x.com/developers/community/blogs/ppmacole/recurring-payments-ipns?page=1
http://docs.ipn-easy.com/html/T_Rolosoft_IpnEasy_Net_PayPal_TxnType.htm
Unfortunately because of the limits placed on recurring payments with express checkout, direct payment was the only option for me. I strongly suggest that if you need to do direct payment with recurring payments that you find a different payment provider.