Getting started with paypal in asp.net

elijahbale
Contributor
Contributor

Hi.

My website has "gold accounts", which once are paid for, the user can have access to the content of the site. The site is built in asp.net, so it uses the asp.net built in membership mechanism.

What I have so far is a "Buy Now" for a single payment.

How can I process the payment for the "gold account" in the sense that after the payment has been made on the paypal site I can add that user to a gold account ?

This probably has been done many times before, but I am new to the process and would really like to get a jump start ...:)

Login to Me Too
1 REPLY 1

PayPal_Frank
Administrator
Administrator

Hi elijahbale,

 

Welcome! 🙂

 

I recommend using Instant Payment Notifications (IPN) to let your server know that the payment has completed and update your DB with the status of that user.

 

Check out our getting started guide for IPN here:

https://www.x.com/developers/paypal/documentation-tools/getting-started-guides/instant-payment-notif...

 

We also have ASP.NET code sampes for IPN here:

https://www.x.com/developers/PayPal/documentation-tools/code-sample/216623

 

I hope this helps to get you started down the right path.

 

- Frank

If you see a helpful post, please accept it as a solution or give the author kudos. 🙂 Thanks!
Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.