Paypal integration using Asp.net & how will Add or Update product details.
Introduction
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.
Objective
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.
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
<body>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="NXQDHQ9ZD3P7Q">
<table>
<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>
</table>
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>
</body>
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 :)