Very confused over integrating paypal api into website

Hi,

I have developed my asp.net ecommerce website and now want to set it up to take payments. Can someone please explain exactly what I need to do to set up the paypal process as I am very confused.

LVL 2
jazz__manAsked:
Who is Participating?
 
Scott MadeiraConnect With a Mentor Commented:
How do you want to take payments?  I assume you have code that builds a shopping cart and then you send the buyer to the PayPal web site with a total amount due, they login and make their payment.  After that they are redirected back to your site with a "thank you for ordering message."

I have implemented this using PayPal IPN.  Net of it all is that you have to build a POST request and send it to PayPal.  PayPal gets this and presents the paypal screen to your user.  After they are done making the payment it redirects to your confirmation screen.

As a parallel process, PayPal will send you a POST request that you need an IPN handler to receive and process.  This will confirm payment and let you know that the payment was good.

There is sample code on the paypal site for the IPN handler as well as some direction on how to implement IPN in your cart.

I do all my work in php so I have no .NET code to share with you.

Hope that helps get you started.  There are other ways to do it in PayPal.  The above links may be useful.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.