How to integrate Paypal payment into an e-commerce website

I made a bookstore website. My work is completed. Now I'm stuck in the "Payment" part. I have to complete a Paypal payment just like this site.

I read the Paypal developer page. But for sure, I could not find the correct documentation for making Paypal payment.

I made my own shopping cart. If users click the "Check" button, they must be sent to Paypal for payment.

Please help me by offering me a small suggestion regarding payment integration, similar to the link mentioned above.

+4
source share
2 answers

The site you specified uses the Express Checkout method. Here you can find the documentation https://www.x.com/developers/paypal/documentation-tools/express-checkout/integration-guide/ECGettingStarted

There is another Adaptive Payment method, but this one is quite complicated. Instead, I suggest using Express Checkout.

Update

You can include the user define variable in your header request for PayPal payment, after which all transaction data can be received via IPN or instant payment notification after successful payment. The necessary data is in this IPN. To implement IPN, make sure that you have met the following requirements.

  • Your IPN handler URL must be public and without authentication. This is the URL that PayPal will call to send IPN information.
  • Your handler must have an HTTP message. You can access the IPN message through Request.Forms
+5
source

the tutorial is very useful for you, check it below the links

Paypal in CodeIgniter-SO message

How to configure PayPal integration with PHP and MySQL

0
source

All Articles