I am creating a booking site, where the public can make bookings and then pay using their card. I want to take the card details and send them to PayPal via their REST api, and then send the amount to a merchant who will be one of our customer's selling the booked product.
Is this possible to do? PayPal documentation is confusing at best. I currently have the card payments being taken successfully and paid into our own 'developer' account, but what I can't seem to find is how to credit the money to a PayPal account that isn't our own instead.
I have looked into the PayPal Permissions API but again the documentation is unclear, and I don't see where I specify the merchants id or email address when calling RequestPermissions.
What you're looking to do can be accomplished by using PayPal's Adaptive Payments product (https://developer.paypal.com/docs/classic/products/adaptive-payments/). Unfortunately, Adaptive Payments are not currently available with REST APIs. So if you have the option of going with classic APIs, this is currently available to you.
Related
I have been building a marketplace application with an iOS app as front-end that drives the business. The app can accept payment either through a paypal account or a credit card. I have integrated Braintree iOS SDK into my app and linked the paypal business account in Braintree controlpanel. The funds processed using PayPal are being routed to the paypal and those processed using cards end up in the bank account linked with Braintree merchant.
Now, the core of the application is to take a certain commission and payout the rest to the sellers involved in transaction. I have taken the seller's PayPal ID at the time of registration to pay them.I have explored the PayPal docs and found that Payouts REST API does exactly what I need provided I maintain the required balance in the merchant account.This is where things came to a standstill. Specifically, I need to get confirmation on the below points
1.As there are two different places(paypal merchant and bank account
linked to braintree) where my funds are parked, Is there any
possibility that the transaction could directly be funded from the
bank account if the same is linked to both merchant accounts?
2.Will PayPal withdraw the entire amount at once or in partial
transactions.
Can anyone who have been in a similar situation suggest how to go about paying out the sellers. I am open to any alternative that satisfies all the requirements of the app.
I used the Paypal NVP API (Express checkout) for a long time and it worked fine. I'm now developing a new project and wanted to use the 'new' Rest API that Paypal recommends for new projects. I, however, find the documentation rather imprecise at some points and often contradictory.
I'm using their sandbox to test the payments and I noticed that the payments work fine, except that once I log in to the Paypal Buyer account, I can only select the PayPal balance to pay.
Is this a limitation of the Rest API? I want to clarify that I am based outside the US and I do not want to accept credit card payments on my own website (well, if there is no other solution, I would accept it). I'd rather have the user get redirected to the PayPal page and provide his credit card information over there. I do, however, want to give the option to the user to at least select from PayPal balance or credit card. (As I'm used to from the NVP API)
UPDATE
In the meantime, I've done a lot of additional research. On the PHP SDK page, they've added the following notice:
Important: The PayPal REST API no longer supports new direct credit card integrations. Please instead consider Braintree Direct; which is, PayPal's preferred integration solution for accepting direct credit card payments in your mobile app or website. Braintree, a PayPal service, is the easiest way to accept credit cards, PayPal, and many other payment methods.
How should I understand the direct credit card integration? Is that the credit card payment on the PayPal website after being redirected onto that page or do they mean credit card payments where the card number is provided on ones own website?
I've got the impression, PayPal is entirely shifting to Braintree Payments. Even on the official PayPal Developer website, they propose Express Checkout for quick (client side only) integrations and Braintree Direct for other payments.
This is what I need:
PHP integration of the API calls
Payment methods: PayPal balance, Different Credit Cards
eventually recurring payments
I do not need:
Third party invoicing
client management
shipping address management
So my concrete questions would be:
What's the difference between Braintree and PayPal payment methods (since they belong to the same organisation)?
Should I use PayPal Rest API or Braintree solutions in my case?
What are those PayPal limitations that they list on their website?
Has nobody got any experience in this domain? Even partial answers are welcome!
I have partial answer, as I am also in the process of choosing between BrainTree, PayPal Rest API, and Express checkout.
I'm here to answer "How should I understand the direct credit card integration?"
I'm no expert on the subject, but during my recent work at the area of integration with checkout systems, I've learned this:
One of the types of credit-cards is called "direct credit card". It means that it is directly connected with a bank account - when it is billed, the money is instantly transfered from the connected bank-account to the merchant. This is different than how most credit-cards work - most will only charge the bank-acoount at the beginninng of the next month.
I've come accross situations where direct cards behave differently than regular credit-cards.
For instance - the checkout-system I integrate with doesn't allow to monthly-bill a direct card. direct card on a monthly payment plan have to be billed manually.
So for me, the PayPal announcement you qouted means a lot - I need to support direct credit cards, hence I'm choosing BrainTree. Thanks!
Note to moderators:
I originally wanted to post this as a comment to the question, becuase I thought it would help the OP. I don't have enough reputation to comment, so I posted an Answer.
We allow our customers to create invoices using our app, and then send them to their clients to be paid.
The current payment options we offer are stripe and offline payment.
We want to add PayPal as a payment method too.
Adaptive payment seems like the only way to do this, but it is no longer available?
*I've had a business PayPal account for over 6 years.
* Our app is plutio.com
If you could apply for an APP ID from below page, you are still able to create invoice via PayPal Adaptive Payments.
https://www.paypal-apps.com/user/my-account/applications
https://developer.paypal.com/docs/classic/products/invoicing/?mark=invoicing
And besides, PayPal has provided new REST API for invoicing. Please check below page for its details.
https://developer.paypal.com/docs/integration/direct/invoicing/
I'm developing a mobile app and a website that allow the user to pay for a good. I need to split the payment in two parts, one to the seller and one to the market owner.
I thought of using Braintree for allow the user to choose to pay with credit card or paypal, but I know that the Braintree Marketplace is available only for merchants in the United States as writed here: https://developer.paypal.com/docs/marketplace/
So I have read that I can use the Paypal Adaptive Payment for split a payment, but I know that Adaptive Payments is now a limited release product. It is restricted to select partners for approved use cases and should not be used for new integrations without guidance from PayPal. It's writed here: https://developer.paypal.com/docs/classic/adaptive-payments/integration-guide/APIntro/
Then I thought of using Braintree sdk for let the user to pay the entire payment to the market owner account, and then using Paypal Payouts api for send a part of the payment to the seller's paypal account. But in this way I will pay the fees two time. It's right? https://developer.paypal.com/docs/integration/direct/payouts/
So, what is the best way for European merchants to split a payment using Braintree / Paypal?
I need to allow users to pay via Credit Card on my site. I'm trying to find suitable API option but can't find it. I have implemented payment via PayPal so far, but now I need to allow users to pay via credit card without account on PayPal.
Anyone knows what specific payment type that is?
Here is one way:
First, you'll need a Website Payments Pro merchant account with PayPal. Then, become familiar with the DoDirectPayment API, which will allow you to
process transactions on your site with PayPal working in the background. Customers will be able to fill out their credit card information, etc., on your site without visiting PayPal directly.
This also means that customers will not be required to have a PayPal account in order to make a transaction on your site.
If you proceed this way, you will need SSL certificates, and are required to implement Express Checkout for customers who do not want to make their transaction on your site.
Sample Code to get your feet wet. Good luck!