Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PayPal REST API and recurring payments

I'm looking at the new PayPal REST API and the examples. Does it work as of today to make recurring payments? (a.k.a: subscriptions with recurring payments with billing cycle and the number of times the recurring payment is made.)

I cannot find this information in the documentation.

Thanks,

like image 1000
Loic Duros Avatar asked Jun 03 '13 18:06

Loic Duros


People also ask

Can you set up PayPal for recurring payments?

Use PayPal Automatic Payments to pay and manage all your recurring bills, monthly subscriptions and even instalment plans, all in one place. Use PayPal Automatic Payments to pay and manage all your recurring bills, monthly subscriptions and even instalment plans, all in one place.

How does recurring payments work with PayPal?

PayPal attempts to collect recurring payments from subscribers on the day after the previous billing cycle or trial period ends. Billing cycles can be daily, weekly, monthly or yearly, depending on the terms of the original subscription.

Does PayPal use restful API?

The PayPal REST API is organized around transaction workflows, including: orders, payments, subscriptions, invoicing, and disputes. The API uses standard verbs and returns HTTP response codes and JSON-encoded responses.


5 Answers

Billing Plan and Agreement APIs are also deprecated, we can use Subscription API instead,

Integration guide: https://developer.paypal.com/docs/subscriptions/integrate/#

Documentation: https://developer.paypal.com/docs/api/subscriptions/v1/

like image 63
harish sharma Avatar answered Oct 01 '22 12:10

harish sharma


PayPal REST API now officially support Recurring Payments (Billing Plans and Agreements)

like image 28
Vimalnath Avatar answered Oct 01 '22 12:10

Vimalnath


The PayPal REST API doesn't currently offer recurring payments, although the Classic APIs do offer this feature:

https://developer.paypal.com/webapps/developer/docs/classic/use-cases/

like image 38
JatinB Avatar answered Sep 27 '22 12:09

JatinB


There are two options here for the REST API.

First you can store a credit card in the vault to make recurring payments against that card.

The second option is not yet released, but will involve a long term OAuth token, see this answer.

like image 26
Finn K Avatar answered Sep 27 '22 12:09

Finn K


Try the Paypal REST API-> https://developer.paypal.com/docs/integration/direct/create-billing-plan/

After setting your account, you´ll get a secret key and client id, which you´ll use later on to make the call to the api.

Remeber to set the grant_type on the apiContext so you don´t get a 403.

https://developer.paypal.com/docs/api/#create-a-plan

like image 24
Simon Berton Avatar answered Sep 30 '22 12:09

Simon Berton