Is PayPal ExpressCheckout deprecated? - php

I'm new on PayPal SDK, and have to integrate a payment gateway; I use PHP, and reading the documentation about the PayPal PHP SDK on GitHub says that the Merchant SDK is deprecated, in order to use the new Rest API SDK.
But, my question is: In Rest API SDK there is not any reference to Express Checkout, it have Payment Flow. So, ExpressCheckout is deprecated?
Sorry if I'm loss about this.

to be concise PayPal Express Checkout is called 'PayPal Payment' when using REST APIs. Please go here for REST API for a PayPal Payment and Here is a Reference Guide as well. Hope this helps!

The Merchant SDK is deprecated; however, Express Checkout is not. The PayPal payment of the REST API leverages Express Checkout.
Edit: The deprecation note has been removed from the Merchant SDKs.

Related

Paypal PHP REST API for payflow

We would like to use Paypal for credit card authorization exactly as we do for Paypal transactions, only skip right to approval for users who do not want paypal.
The REST API for paypal has the setPaymentMethod always set to "paypal" in every example I can find, and I don't find a list of possible values. May this constant be set to something like "payflow"?
The hope is that the REST API would work to allow a credit card customer get payflow dialogs rather than paypal login/guest login. The idea is to try and use our existing REST code to process credit card payflow transactions and retain the "create order" then "capture" processes we have for paypal transactions. I can't tell if the REST API is capable of this.
Payflow does not work with the REST API in any way. Payflow is very old, and uses a much older NVP API.
If possible, use a more modern solution such as Braintree Direct or Advanced Credit and Debit Cards rather than the old Payflow gateway.

How to process payments with credit cards through Paypal from Argentina

I am new to Paypal integration and cannot find how am I supposed to make it. My requisites are the following:
Company registered in Argentina
Users should be able to buy without having to create a Paypal account with a credit card
The integration should not be easily tampered with
With those (I thought) simple requirements I spent many hours and couldn't find a solution that applied.
This is what I found out:
Payments REST API, should not be used for credit card payments
Important: The use of the PayPal REST /payments APIs to accept credit
card payments is restricted. Instead, you can accept credit card
payments with Braintree Direct.
https://developer.paypal.com/docs/api/payments/
Braintree Direct (the method to integrate credit card payments with full customization is not supported in Argentina) https://www.braintreepayments.com/country-selection
NVP and SOAP API Reference (old Paypal API to integrate payments) is no longer supported.
Important: This integration method is Deprecated as of January 1, 2017. For
new integrations, see the PayPal Express Checkout Integration Guide.
https://developer.paypal.com/docs/classic/api/
PayPal Express Checkout Integration is horrible, seems insecure and prone to tampering if used only client side, and though I found a way to make it work more securely with a server-side payment generation I couldn't find a way for it to pay without having a Paypal account.
https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/
and
https://developer.paypal.com/demo/checkout/#/pattern/client
So I am left with no option to integrate credit card processing through Paypal for a business in Argentina. Before giving up I would like to know if somebody knows of a way to make this integration work.
Payoneer is also an option. Paypal isn't the only thing out there.

Paypal payment integration selection

i have to integrate paypal payment gateway in php and iam in a state of confusion of selecting which method i have to choose.
I have gone through paypal developers documentation and found two methods.
1) REST API
2) Classic API
In classic apis there are still lot other options.
I have to build a website with payment feature for a client in US and no other country will be using this website.
So which option will be best suitable and on what scenario i have to select REST API and Classic API.
PayPal Classic and REST API
Classic API
Request and response payloads are formatted as NVP and SOAP.
Official PayPal SDK support for Express Checkout available with the
PayPal Merchant SDK for .NET (GitHub | NuGet)
REST API
Request and response payloads are formatted as JSON
Official PayPal SDK support available with the PayPal .NET SDK
(GitHub | NuGet)
The PayPal Name-Value Pair API (NVP API) enables you to leverage the functionality of the PayPal API by simply sending an HTTP request to PayPal and specifying request parameters using name-value pairs. The NVP API is a lightweight alternative to the PayPal SOAP API and provides access to the same set of functionality as the SOAP API.
A few points to consider with respect to Classic API vs. REST API:
Classic API is not going to be deprecated any time soon. You can use
Classic API.
Moreover REST API does not support many variables/parameters that
work in Classic API.
REST API can be used for both credit card and PayPal payments
(express checkout architecture).
Note: The REST Apis, they support both direct credit card and express
checkout depending on which funding instrument (CC vs PayPal) you pass
in the pay request.

Recurring payments using Paypal Merchant SDK or Paypal REST API

Everything does not look good with the Paypal APIs. Paypal Merchant API seems to be deprecated , but most of the examples and functionality is referring to Marchant SDK.For example take Recurring. REST API does not provide any example of Recurring Payments !
In what context this API is deprecated ? I am looking for recurring payments done for "Paypal Payments Advanced" account type.
If you are looking to implement Recurring Billing with PayPal Payments Advanced you'll want to look at the Payflow platform APIs. here is a good place to get started:
https://developer.paypal.com/docs/classic/products/recurring-billing/

Paypal Direct Payment API

Is there any up to date documentation out there on how to use the Paypal direct payment API?
I found a working demo code for Paypal direct payment API : http://www.mmtutorialvault.com/paypal-pro-integration-in-php/
Google found this:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_code
wont that do?
If you are using PHP this component is worth a look. It costs $30, but I found it was well worth the time and effort saved. http://www.binpress.com/app/php-paypal-api-class/20
PayPal provides various payment related operations using the /payment resource and related sub-resources. Use /payment for direct credit card payments and PayPal account payments.
URI: https://api.paypal.com/v1/payments/payment
Create a payment: POST /v1/payments/payment
For more information, refer:
https://developer.paypal.com/webapps/developer/docs/api/#create-a-payment
On the Paypal PHP SDK repo Paypal says :
Direct Credit Card Support
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.
So Paypal recommands to use Braintree Direct. More details on Braintree direct page

Categories