You can create and add a PayPal Donation Button to your Drupal site in a few easy steps. You will first need to create the button and then you will need to create a new block and add it to your Drupal site. In this tutorial, I will show you how to create the button. In part two of this tutorial, I will show you how to add the PayPal button to your Drupal site.
Creating the PayPal Button for Drupal
First, you will need to create the button. Login to your PayPal account. Once you are logged in, click the Merchant Services tab. Look for the section that says Create Buttons. In that section you will see the Donate button link. Click that link and you will be carried to the page where you can create your button.
On the next page you will see the fields that you will need to fill in. Organization Name can be the name of your site or any name that you want to use. ID number can also be anything. The next section is where you customize the button. Click the Customize link to expand that section. In this section you can select if you want the credit cards to appear under the button, if you want to use a small button, and the country that you are in.
The next section is the Currency section. Drop the box down and select the currency of your choice. Then you will have two questions below that section. Do you want donors to enter their own amount or do you want to set an amount. Tick the field of your choice. If you ticked the set amount field, a box will appear and you can enter the amount in the box. It is best to let the donor set the amount, but it is your decision.
The next section is asking how you want to be identified. You can use your merchant ID which is your PayPal ID or you can use your email. The choice is up to you, but if you use your email address, you will receive a lot of spam. So, it is safer to use the merchant ID.
Click Step 2 to expand the section. This section is simply asking if you want to save the button on the PayPal website. By saving the button on PayPal, you can edit it at any time.
Step 3 does not need to be expanded. Step 3 is for customers who are creating a check out button. So, this section does not apply to you since you are creating a donation button for PayPal.
You are almost finished creating the donation button. To complete the button, click the Create Button button at the bottom of the page. On the next page you will see the code that you will need. You can copy the code and paste it in notepad until you get your site ready for it to be used.