I have some questions about subscription functionality using REST API. We have implemented recurring payments using "Express Checkout NVP/SOAP Integration" but for us it isn't optimal, because:
- Webhooks easier and more usable then IPN messages;
- We can't force customers to pay from PayPal balance.
That's why I want to rewrite it with REST API. I think the flow will be like:
- User press button and we make the first request to get auth token;
- Create billing plan;
- Activate billing plan;
- Create billing agreement;
- Because of we're using PayPal payments here we redirect the customer to approve payment;
- Execute billing agreement.
My questions are:
- Is this flow correct?
- To redirect customer for approving payment we need to make four requests to PayPal API servers, is it normal?
- Should I create and activate a billing plan for every customer or I can use one plan for all customers?
- If so can I create the plan in the merchant's profile page or I can do it only programmatically?