Click here to Skip to main content
15,179,246 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a shopping cart in which i have item details price and total amount .. i want to integrate it to paypal.. i mean i want to handle the checkout process for my shopping cart though paypal. i am confused how to start.. i am not getting the logic from the articles on net. can anyone explain how i can learn and implement that.. how the paypal get values of the shopping cart. ?? how it i need to save the order details of the payments which are handled through paypal

1 solution

You should read the documentation PayPal have (on their website if I remember right). You generally don't want to take advice from strangers when it comes to financial transactions.

I did some introductory work along these lines some years ago. As I remember it, you have to construct a POST request to their service which will prepare a cart on their site, then redirect the user to a page on with the unique key the web service call returns. When the transaction is processed, Paypal will then make a web service call (i.e. a HTTP POST transaction) to a URL on your server that you set as part of your merchant account configuration. But they may have changed how they do things since then, so definitely look at the documentation.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900