简体   繁体   中英

Paypal JAVA REST API examples for recurring payments

Does the Paypal JAVA REST API support recurring payment? like getting payment $20 on the 1st day of every month.

Any examples? I could not find such examples.

Thanks for help.

In the REST API, classic recurring payments are know as billing plans and billing agreements.

You can find more information here:

https://developer.paypal.com/docs/integration/direct/create-billing-plan/

This would be, roughly, the flow:

  • Create a Billing Plan with the subscription/recurring payment properties and activate it.

  • Create a Billing Agreement passing the ID of the plan you want to use for that particular customer.

  • Redirect buyer to PayPal for approval of the agreement.

  • Execute the agreement after buyer has approved it and returned back to your site.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM