api - How do I intergrate PayPal with a PHP system in this specific way? -


i have system registers user. need intergrate paypal if user has paid can have access account. paying involves confirming monthly payment, first month free. need use paypal api inform user of monthly fee, let's them subscribe, , if successful returns true php system can activate account.

so need process running? need do?

https://developer.paypal.com/ great place start.

they offer guides , code libraries , examples there.

and far rest of requirement, can handle in callback paypal. according payment status , update record , notify user.

  1. you need form post information paypal (which can find in paypal sdk
  2. paypal process payment once form correctly posted.
  3. paypal send response on callback.php file of file link post in form.
  4. handle conditions in callback file.

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -