Paypal: Which product and api to choose? - paypal

I want to integrate Paypal as an online payment option into my website and have been looking at their documentation and apis for days, but I can't for the life of me figure out which product should I use and which apis work with what products. It seems they have got several products like payflow, web payments pro, paypal payments pro and several others. Then they have also got orders api, payments api, nvm/soap api, JS SDK etc. Can someone suggest which product/api should I choose when I am looking at the following factors:
Ability to pay sellers in UK and US.
Make payments through my website, be it moving buyer to their own page, opening payment window in an iFrame or provide an access token to make payment though my backend.
Ability to take future payments.
Ability to programmatically cancel payments.
Ability to programmatically refund payments.
Subscriptions.

You need different products for different things. For future headless payments that are not recurring on a schedule, you'll have to talk to PayPal
For recurring payments on a schedule, which are called subscriptions, use https://developer.paypal.com/docs/subscriptions/ . There is no SDK for this latest subscriptions API, you need to use direct API calls.
For one-type payments, use PayPal Checkout https://developer.paypal.com/docs/checkout/ . If you want a server API integration, here's the front-end: https://developer.paypal.com/demo/checkout/#/pattern/server , and the two routes you'll need on your server are with the Orders V2 API to 'Set Up Transaction' and 'Capture Transaction', which have a guide here: https://developer.paypal.com/docs/checkout/reference/server-integration/
That should be enough to get you started

Related

Saving Payment Methods with PayPal Checkout

Is it possible to attach payment methods to customers when PayPal uses the card checkout? I'm asking this because it seems like in order to have the PayPal buttons on the checkout, trying to use PayPal's hosted payment fields seems to not support having external customers with saved cards.
My goal is to have it so I can have the PayPal button along with the PayPal hosted fields for cards, and then if a user does checkout with the hosted fields, it will save their card somehow. This sort of functionality doesn't really seem to be supported by PayPal's API according to the docs unless I'm missing something.
I'm just trying to figure out a way if you can use previous cards in paypal's hosted checkout if that is possible.
Saving payment methods requires a feature variously called reference transactions or vaulting (the v2 vault API, not v1). The feature is not enable by default. The business owner should contact PayPal's general business support (not technical support) or an account manager to inquire about the reference transactions feature and explain the business need.
If approved for the feature, PayPal can then guide you on which API to integrate.

Is Paypal Adaptive Payment API depreached

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

Adaptive Payments

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/

paypal checkouts for marketplace

I would really like to use Paypal for my marketplace I am developing. I need to allow users to enter their paypal email address and whenever customers purchase that users products I take a small fee then the rest of the money goes to the user who listed the product.
What paypal service is the best for these types of payments? (me taking a transaction fee and sending the rest of the money to another paypal account)
I was looking into paypal express checkout, but can't find any info on sending some payouts to the users listing products. Also does express checkout require that the customer have a paypal account?
In case you are wondering and finding an answer, Express Checkout now comes with Parallel Payments. Read it here. As Adaptive Payment Parallel Payment now deprecated, the option left is using Express Checkout.
I have been trying to get a sensible answer from PayPal for days now. They are planning to release a protocol to support a market place in 2020 but not date yet. They have also confirmed (after talking to sales & tech support) that PayPal cannot be used for market places where your platform is nothing more than a broker.
Stripe Connect (Standard account) is probably the best solution out there.

Setting up automated payments

We use PayPal classic APIs.
We have a Linux server with some application/database running on it.
Users pay pages for ocr processing.
We need to offer to our users an option to make automatic payments when some condition is occured.
For example: when the user have left only 100 available pages.
In this case we want to offer to user something as "pay with PayPal 1000 pages everytime when my account have less than 100 pages".
Is this possible to do it with PayPal API?
Asolutely, this is simple to accomplish. If you prefer the Express Checkout API suite, the Reference Transactions product allows you to collect permission to re-bill your customers for additional goods and services when they check out. Then you call the reference transaction API when the event you are interested in (such as the user's inventory of prepaid pages gets low) occurs.
See:
https://developer.paypal.com/docs/classic/express-checkout/integration-guide/ECReferenceTxns/
Other PayPal products support similar behavior in combination with Adaptive Payments, the RESTful APIs, etc etc.