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,
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.
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.
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.
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/
PayPal REST API now officially support Recurring Payments (Billing Plans and Agreements)
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/
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With