Paypal Integration

Posted by in ASP.NET category on for Beginner level | Points: 250 | Views : 6762 red flag

Paypal integration using & how will Add or Update product details.


In this article, we will try to understand PayPal Integration in ASP.NET with few products. And after that we will implement CRUD operation help of PayPal Account.


PayPal help us to received direct payments in our accounts from end user.

1. Login from your PayPal account, create if you don't have.
2. Now create Buy Now Button. click this link (
3. Click on create button now .
4. select Buy Now from drop down. and check Customize Button and Add products with price which you want to show in your website, below image for your ref.

5. Click on Done.
6. Then click on Create button

7.  Copy above script and paste in your web form.

Below is HTML code

    <form action="" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="NXQDHQ9ZD3P7Q">
<tr><td><input type="hidden" name="on0" value="Select Products">Select Products</td></tr><tr><td><select name="os0">
	<option value="Due">Due $2.00 USD</option>
	<option value="HP Laptop">HP Laptop $6.00 USD</option>
	<option value="Sony Tab">Sony Tab $10.00 USD</option>
</select> </td></tr>
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="" border="0" name="submit" alt="PayPal – The safer, easier way to pay online.">
<img alt="" border="0" src="" width="1" height="1">


Output Screen shot

Now we will perform CRUD operation with products

1. Login in PayPal account 
2. click on profile link, below image for ref.

3. click on My Selling Tools
4. Inside of selling online, click on  PayPal button update option

5. Then take action as per your need.

Thanks :)

Page copy protected against web site content infringement by Copyscape

About the Author

Full Name: Sandeep Raturi
Member Level: Starter
Member Status: Member
Member Since: 2/28/2012 10:43:45 AM
Country: India
Thanks & Regards Sandeep Raturi(Sr. software engineer) Email:
Senior Software Engineer

Login to vote for this post.

Comments or Responses

Posted by: Sheonarayan on: 3/23/2014 | Points: 25
Good one, keep it up!
Posted by: Sandeepraturi on: 3/23/2014 | Points: 25
Thank you sir
Posted by: Jerbrown on: 2/19/2018 | Points: 25
where is it better to use?
Posted by: Sandeepraturi on: 2/19/2018 | Points: 25
hello jerbrown
This is payment gateway and Paypal help us to received payments from end user.
Ex.suppose you want to sell few products online via website and you want to received payments in your account then you can go for it.
Posted by: Robbieweeks on: 2/23/2018 | Points: 25
Is it the newest version?
Posted by: Sandeepraturi on: 2/23/2018 | Points: 25
You talking about Pay Pal UI version??
Posted by: Poppynewton on: 9/12/2018 | Points: 25
Amazing, thank you!
Posted by: Sandeepraturi on: 9/13/2018 | Points: 25
thanks poppynewton

Login to post response

Comment using Facebook(Author doesn't get notification)