Paypal Integration Help Docs

We have to follow the following steps:

  1. Define API Information
  2. Redirect to Paypal [with some POST value for payment information]
  3. Redirect Back to Our Application with an IPN[Instance Payment Notification]
  4. Process and handle the payment on our app [validate , store and update the payment information]

 

Here is an Example Form:

<form id="paypal-form" action="https://www.sandbox.paypal.com/cgi-bin/webscr" accept-charset="UTF-8" method="post" >
 
">
</form>

Reference : https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/formbasics/

 

To simulate on Local Environment we need to use certificate authorities on php.ini:

curl.cainfo=<path-to>cacert.pem , Here is the file : https://curl.haxx.se/ca/cacert.pem

 

Ref:  http://stackoverflow.com/questions/17478283/paypal-access-ssl-certificate-unable-to-get-local-issuer-certificate

We Need to use Sandbox accounts for Simulation and we can create sanbox accounts from paypal developer  website.

https://developer.paypal.com/developer/accounts/

 

 

 

 


Posted

in

by

Tags: