how to integrate Paypal payment in e commerce website

codeigniter, paypal, php

Solution

The site you have shown is using Express Checkout method. You can find the documentation here https://www.x.com/developers/paypal/documentation-tools/express-checkout/integration-guide/ECGettingStarted

There is another method the "Adaptive Payment" but this one is quite complicated. I do suggest use Express Checkout instead.

Updated

You can include user define variable in your header request for payment to PayPal then all transaction details can be received via IPN or Instant Payment Notification after successful payment. The details you need are there in this IPN. To implement IPN make sure you have followed the following requirements.

- Your IPN handler URL should be public and no authentication. This is the URL that PayPal will be called to send the IPN details.

- Your handler should have HTTP Post. You can access the IPN message through Request.Forms

Problem

i have made a bookstore website. My all work is completed . Now i am stuck in "Payment" part. I have to implement Paypal payment exactly like this website. I read the Paypal developer page. But exactly i could not found any correct documentation to implement Paypal payment. i have made my own shopping cart. If users click on checkout then they should be forwarded to Paypal for payment. Please help me by giving me few suggestion regarding the payment integration similar to the above mention link.

Original source

Related problems