Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which PayPal API should I study for this scenario?

Tags:

asp.net

paypal

I am working on an application like eBay. The application has a cart page for customers where they can see more than 1 items. The items are there to be paid for. The items are with CheckBoxes so user can select any item they wish to pay against (even multiples). Assuming there are 5 items each having some cost. There is also an image button called "Checkout With PayPal". I want the customer to click on the image buttons after checking some items. Now they should go to PayPal checkout page with details of these items including their price and the like. Actually the whole Invoice should be sent to PayPal showing individual items with their prices.

Once the user will pay for all those items, paypal should report back to me with ReturnURL and some fields making sure they paid. I will modify the database.

Which API will really help me get the most out of the PayPal? I read Express Checkout, it looks what I am looking for but not sure if it's really what I want.

like image 471
Umair A. Avatar asked Jan 24 '26 18:01

Umair A.


1 Answers

You can use any of the APIs to accomplish what you've stated - it's more a question of your programming comfort level, the level of integration you require (for example, if you're comfortable sending your users to PayPal to pay vs. having them pay in your site, such as with Express Checkout), and how much you're willing to pay monthly / per transaction.

At the most basic level you could easily use Website Payments Standard, and set up an IPN (instant payment notification) pointing to a url on your system where you would do some further processing in an automated fashion. Use caution here as it's pretty easy for a semi-sophisticated user to change quantities or item prices in the cart html before posting to PayPal. You'll have to reconcile things in your IPN url to make sure things weren't changed.

visit the paypal developer network for more information: https://www.x.com/community/home (and yes, x.com is their actual url...looks like spam)

like image 84
ScottE Avatar answered Jan 29 '26 19:01

ScottE



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!