How do I obtain permission to process on behalf of a PayPal merchant using the PayPal REST API? - paypal

I would like my website to be able to process PayPal payments on behalf of merchants. The merchants will have their own PayPal accounts and will need to give me permission to do so.
Permissions API Deprecated
PayPal have a "Permissions API" which allows a third-party such as a hosted shopping cart to process on behalf of PayPal merchants. See: https://developer.paypal.com/docs/archive/permissions-service/integration-guide/PermissionsUsing/
The above page says:
Adaptive Accounts and Adaptive Payments are no longer available for
new integrations. PayPal provides documentation for these APIs to
support existing integrations.
PayPal REST API
Are these things possible using the PayPal REST API:
perform a handoff from my site to PayPal, have the merchant grant my site permissions to act on their behalf,
process payments on behalf of the merchant using the credentials obtained from the first step

Every merchant can obtain ClientID/Secret credentials from the Live tab of a REST API App via https://www.paypal.com/signin?intent=developer&returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdeveloper%2Fapplications , and enter them into their config interface on your platform.

It's is possible to use the PayPal "Marketplaces and Platforms" API to achieve this:
https://developer.paypal.com/docs/platforms/seller-onboarding/

Related

Paypal developer/business account(sandbox)

I'm working on a php project that needs to integrate Paypal API's. I've chosen REST API's. But I've a business account(sandbox). Is it possible to call REST API's using this account type?
You need to log into developer.paypal.com using any live PayPal account, via https://www.paypal.com/signin?returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdeveloper%2Fapplications
If you don't have a live PayPal account, create one.
Once logged in, the number of REST API apps and corresponding sandbox accounts that you can manage is unlimited.

Authorize user once and then make payments using an API

I'm looking for a paypal feature where a user grants permission to my webservice upon registration and then my webservice can take payments using an API when a user clicks a button on the website. I don't like it when a user has to go to the paypal gateway for each payment, it would be much better if it would be possible to initiate the payment when a user just clicks a button on the website.
I think braintree already offers this functionality with their paypal vault feature but is this available with paypal directly? I've taken a look at Authentication but it seems a bit drastic for normal users to authenticate full permissions to an app.
If you are looking for direct card payments(without navigating to Paypal checkout page) you will need to use Dodirectpayment API calls which needs a PaYPal PRO account that is supported in US,UK and AU or you can try Braintree Dropin UI as well.
https://developer.paypal.com/docs/classic/paypal-payments-pro/integration-guide/WPDirectPayment/

Paypal REST API for multiple accounts

I have a Java application that has just been updated with e-commerce features that use the Paypal REST API (https://developer.paypal.com/docs/api/).
I have multiple customers who run this application, each of them can log in to their own admin panel and manage their store and other features.
The Java client for Paypal REST API is working, I have tested it in the Sandbox of my own Paypal account and also in the live environment.
Question: Will each customer have to go into their Paypal account and activate the REST API to generate their key/secret for use in the Java app or is their a way for me to pay multiple PP acounts from the App/key/secret that is already active for my own PP account?
The only thing the Java app is doing with the PP API is creating and executing a payment.
If each customer has to create their own key/secret is there a quick way for them to do this from their PP admin panel? Currently the only way I know is to go into the developer.paypal.com section of the site, which doesn't seem very intuitive for a non techy.
At this time the PayPal REST API does not support third party payments in that way. The customer would need to use developer.paypal.com as you suggested to get their own PayPal REST credentials.
You can collect money and send it out using your own REST credentials but this would make you the liable receiver for the purchase.
PayPal has solutions outside of the REST API that might work for you here: https://developer.paypal.com/docs/marketplace-split-payments/
The Classic API does have a subject option, the subject is the third party. You do need permissions for some of the API calls; however, the permissions API can ease that process.

Sending money from my account with node.js and Paypal REST API

I need to send money from company's Paypal account to another Paypal account.
Is it possible to do with Paypal's REST API (if so, how)?
Or must I use the adaptive payments API (that doesn't have an official Paypal SDK)?
Send money from your account has not been added to their REST APIs yet. You can see the operations that they have available here. To automate the send money, you can choose from either their Adaptive Payments Implicit Send Money (here are links to the SDK, Integration Guide and the API references) or the MassPay APIs (again, links to the Merchant SDK, Integration Guide and the API reference).
You would need to create an APP to run the Adaptive Payments send money here or contact PayPal's customer support to get Mass Payments turned on in your account

Paypay website payments standard API: pay without paypal account

we have set up Paypal as a hook into an e-commerce application, where users just enter their paypal account, and we link their clients through to their Paypal account when buying products.
This works great, and paypal asks you to login to pay for your purchases.
But we don't want clients to be forced to create a paypal account, just to make a purchase.
Does website payments standard API actually support paying without a paypal account?
At the moment this is a real showstopper for us.
Check out PayPal Adaptive Accounts. You can create PP accounts for your users. The only step they'll have to complete at PayPal is creating a password. Once the account is created you might need send the user back through a checkout flow.
Adaptive Accounts
Use the Adaptive Accounts API to build applications that create and manage PayPal accounts. Merchants and developers can use the API to create PayPal accounts, add payment methods to accounts, and verify a PayPal account status.
Paypal is a very useful payment service gateway, exactly because the customer does not need to enter a credit-card number.
What we do, is offer Paypal as an option. We allow credit-card entry as well. In order to evaluate the credit-card for validity etc., we interface with the bank that supports our account and let their system do the checks. Another option would be "Cash on Delivery".