I need some clarification about the best way to combine paypal subscription in my website registration flow.
The steps for registration:
- user chose a price plan by clicking on paypal subscribe button
- the use complete payment on paypal form
- the user return back to my site to fill registration form.
How can I be sure that the user that fill the site registration form payed for the subscription on paypal and didn't got directly to the registration page?
How can I know on which subscription button the user clicked and how much he paid?
Is there any tutorial that describes such a scenario and which api call I should do?