Friday, July 10, 2009

Step by step to create a paypal donation button

Many one specially if you are a blogger or webmaster or own a site, you might show an interest to create a paypal donation button and integrate it inside your page so that you can accept online donation through paypal. I myself run this blog http://arjudba.blogspot.com and like to add a paypal donation button. I am sharing the steps so that you too can do it in your site.

Step by step procedure to create PayPal donation button.

1. Login your PayPal account. You will see "My Account". Click on the "Merchant Tools". Scroll down and click to "Website Payments Standard".

2.Click on "Create payment buttons". You will see "Create PayPal payment button" page. There is three steps. In,
Step 1: Choose button type and enter payment details
-Select Accept payment for from dropdown menu. You can select "Donations".

-You can select customized button, country, language, you have the option to use your own button image, currency.

-The important radio box is "Contribution amount". You have two options, 1)Donors enter their own contribution amount. 2)Donors contribute a fixed amount. If you select 2) the donator cannot donate more than or less than the specified amount.

-From the Merchant ID for purchase transactions radiobox it is better to choose Secure merchant account ID. If you choose a plain text e-mail address, it will be displayed in the button code. So, anyone, including spammers, can copy this address for their own use.

3.Step 2)Track inventory, profit & loss (optional)
and Step 3: Customize advanced features (optional)
both are optional and they are only available if you upgrade to a PayPal Business account.

4.Click "Create Button".

5.You will see a HTML code for the donation button. Copy it and paste it into your website. Done.

Here is my PayPal donation button. It is real! Click it to donate USD$1 to me, credit card accepted. :)







Advanced Techniques
Below is the code which accept a fixed amount 10$ for donation.
<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="aly.mir1@gmail.com">
<input type="hidden" name="item_name" value="Team In Training">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="amount" value="10.00">
<input type="image" src="http://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>

If you paste above code inside your site it will look like,









Related Documents
http://arjudba.blogspot.com/2009/07/draw-google-adsense-money-using-western.html
http://arjudba.blogspot.com/2009/06/debit-card-credit-card-atm-card-charge.html

1 comment:


  1. Really impressive & helpful blog for me, I was searching this kind of information from a long time. Thanks for help me.

    How to set up donations on twitch


    ReplyDelete