Recurring payments using Paypal Merchant SDK or Paypal REST API - php

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/

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 Gateway

I want to integrate recurring payments using paypal for my application which is uk based and I want to use credit card as well for recurring payments.
I have checked Paypal Payflow gateway and it shows Payflow Pro is not available for uk.
Please help me Is paypal works for uk based application or not.
If not then what will be available gateways that i can use for recurring payments.
Thanks.
Did you have a look at the Laravel Cashier documentation there are already Frameworks for your case (Braintree=Paypal)

Is PayPal ExpressCheckout deprecated?

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.

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