Braintree - create customer with Paypal details - paypal

We are studying the feasibility of using Braintree as a payment gateway for one of our client.
One of our requirement is to create a persistent customer with specific payment method/s (paypal, credit/debit etc) using
Braintree Java API.
This registered customer account will then be debited and amount transferred to the client's account as and when need arises.
We have following queries.
Is there any constraint/limitation as to the country to which the customer can belong to? For example, can we create a
customer in Braintree who is a resident of India or China? Can Braintree transfer amount from a customer's account in India
to client/merchant's account in USA and vice versa?
In Braintree sandbox account we can create a new customer with credit card as a payment method. How can we
create a customer with Paypal as a payment method in sandbox?
I have gone through the Braintree Customer.create() Java API. Using Customer.create() API we can create a new customer
with credit card details. But how can we create a new customer with Paypal details using API call? Where can we provide customer's
Paypal account details while calling Customer.create()?
Once customer is created and payment method details verified by customer can subsequent amount transfers from customer to
client/merchant's account happen without customer have to authorize each transaction?
Thanks.

I try to answer your questions but I'm not Braintree ninja.
I think yes but there would be some charges on top of normal fees (known as currency conversion charges).
You can't create paypal as payment method in sandbox (I don't know the reason) but you can in production account.
When users choose Paypal as payment, after successful authentication a token is returned that you can save in database for future transactions (without authentication).
I didn't get your last question, let me answer what I understood(I guess you mean authentication again or providing details again). If customer agrees to have payment method vaulted then no, they won't have to authorize transactions in future as long as they don't cancel their payment method.
Update: Forgot to answer the first part of your question No. 1, as per their FAQs Braintree accepts payments from almost everywhere.

Related

Can I create a Billing Agreement with credit card (without paypal account)

As per the subject. Does my customer MUST to have paypal account and login to his paypal account in order for me to create a billing agreement, or I can use credit card as payment method for a billing agreement?
I am working with REST Api
Thanks
It is possible.
An example of the API is here: https://github.com/paypal/PayPal-NET-SDK/blob/develop/Samples/Source/BillingAgreementWithCreditCard.aspx.cs
Subscriptions (recurring payments) option for direct payments needs to be also enabled in merchant paypal account. I had trouble with it but messaged paypal and they enabled the feature for us.
So tested and working now.

Can a payout, using PayPal Payouts API, be funded directly from the associated Bank account instead of PayPal account?

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.

Taking payment from customer's card and giving to merchant

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.

Add a credit card to customers paypal wallet

Is it possible to add a customer's credit card information to their Paypal Wallet? I've looked into the REST API, but the information is stored in a vault specific to a merchant. I want to save the card information to the customer's wallet for future use. Does Paypal have a wallet api?
As a general rule, no. The buyer has to log in to their PayPal account to add the card.
(There is the AddPaymentCard API, but this is typically reserved for banks that are setting up PayPal accounts for their users and are adding a credit card/debit card, that they issued, to the new account.)

Store cardholder data in PayPal or other service provider?

I'm working on a e-commerce website with PayPal direct payment. Our customers are supposed to enter their credit card information in the page that hosted by PayPal, so that our server will NEVER touch the cardholder data.
Our problem is that we want to provide the convenience so that the returning customer don't have to enter credit card information every time, and we don't want to store or even touch the cardholder data.
Instead, we want to store this sensitive data in PayPal so that next time we can just provide something like a CustomerID to ask PayPal access the credit card information to complete the purchase.
Is that possible to do with PayPal or other service provider?
PS. We also tried Intuit Payment Wallet. It can store the cardholder data but it need us to transmit these data to their server to create a "wallet".
If it's PayPal you can do it either through Reference Transaction, or Recurring Billing. You also have PayPal's Adaptive Payments pre-approvals, although these require that the buyer have a paypal account.
For true credit card storage, where you only keep a token, you have to use a service like these guys:
https://www.braintreepayments.com/