How to Add a PayPal Donation Button to WordPress

How to Add a PayPal Donation Button to WordPress

How to Add a PayPal Donation Button to WordPress

No matter the stage of your website’s journey, a little financial support goes a long way. Even though asking for donations might seem too small to make a difference, they can really add up.

One of the easiest ways to accept donations is by adding a PayPal donation button to your site, even if it’s just to cover basic costs, like hosting, a domain name, and other tools.

Why a PayPal Donation Button

There are a lot of WordPress plugins that can help you collect and manage donations, but often these are overkill. Sometimes all you want to do is add a simple donation button to your site. With this approach, you can add it to any text or widget area across your WordPress site. Users can click this button and make a donation via PayPal using their balance or credit card. Since PayPal is a well-known processor, your visitors will know your link is secure.

PayPal Donation Fees

Before we continue, there are some processing fees you’ll want to be aware of. There is no cost for placing a donation button on your site. But, to process the transaction, PayPal will charge $0.30 plus 2.9% of the total transaction. Your contributor won’t be charged, as this percentage will come out of the donation amount.

How to Add a PayPal Donate Button to WordPress

There are two ways to add a PayPal donate button to a WordPress site:

  1. Generating a button on PayPal’s website and embedding it into your site.
  2. Using a plugin to connect to your PayPal account and embed a button with a WordPress shortcode, or a widget.

Creating a Donation Button via PayPal

With this method, you’ll create a button on the PayPal site and copy and paste the generated code into your website. Here’s how you do it: If you don’t have a PayPal account, then you’ll need to create one first. Navigate to the PayPal site and click on ‘Get Started Today’. Decide whether you need a personal or business account and fill out the required fields. With your account set up, you can create your very own donation button. With your account created, navigate to the PayPal Fundraising page, and click on the link that says ‘Learn about creating a donation button’. Then, click on the link that says ‘Create a button’. On the next screen, you can start creating your button. From the drop-down box, select the ‘Donations’ option. Enter the name of your organization, then click on ‘Customize text or appearance’. The stock button looks pretty good, but you can customize it to fit your site if you wish. Your next decision is choosing whether you want donors to contribute a fixed amount or whatever amount they wish. Finally, select whether you want to use your primary email address or use a secure merchant account ID. The merchant account option will keep your email address hidden. Now, click on Step 2, and check the box that says ‘Save button at PayPal’. This will save the button for later use and keep you safe from fraudulent charges. Step 3 is optional, but there are some features you might want to enable like: Let your customer add a special message or thank you note for your work. Allow donors to include their shipping details if you’d like to send them a physical gift. Specify a redirect URL to send them to once they’ve completed the donation. With all those steps complete select ‘Create Button’ at the bottom of the page. With your donation button created you’ll now have the code that you’ll need to copy and paste into your site. Click on ’Select Code’, then copy the code. Now open up your WordPress dashboard and paste that code into any area of your site where you’d like the button to appear. For this example we’re going to paste the code into a separate donation page. You can also paste the code into any section of your website, such as a page, post, or widget area.

Add a Donation Button With a WordPress Plugin

If you don’t want to deal with code and prefer to use a plugin, then this method is for you. Here’s how you add a donation button to your site with a plugin: There are a lot of PayPal donation plugins you can use. But one of the easiest to utilize is the PayPal Donations plugin. This plugin currently has a 5-star review, with over 50,000 installations, so you know it’s trustworthy and high-quality. To install this plugin navigate to Plugins › Add New, and type ‘PayPal Donations’ into the search bar. Look for the plugin that’s shown in the picture below: Click ‘Install Now’, and then ‘Activate’ once the button switches over. To set up the plugin, navigate to Settings › PayPal Donations from within your WordPress dashboard. Enter your account email address into the PayPal Account field. Technically, this is the only field you need to enter to continue. But you can also change things like the currency, the page style, and the return page. Changing the return page gives you the ability to send donors to another page once they’ve finished the transaction. In the Defaults section, you can let your visitors know the purpose of the donation or specify the amount people usually contribute. Finally, you can choose how you want the donation button to display, or you can enter the URL of a custom button. The first way to add the donation button to your site is via a widget. To do this, navigate to Appearance › Widgets. On the left-hand side, you’ll notice the PayPal Donations widget. Drag this into the section of your site where you’d like the widget to appear. This could be your footer, header, sidebar, or any other widget area across your site. Customizing the widget is easy. Just add a title, text, purpose, and reference. Feel free to leave any of the fields blank if you only want a PayPal button to appear. The second method of adding a PayPal donation button is with a shortcode. Simply copy and paste this shortcode [paypal-donation] into a text field. Here’s what it would look like on a separate donation page: You can even add the shortcode to a plain text widget if you want the donation button to appear without any additional text. To do this, create a text widget and copy your shortcode into the text field, and click ‘Save‘.

Conclusion

Now you know how to add a PayPal donation button to your WordPress site. No matter which approach you take, your site is now ready to receive donations from your loyal readers. Before we leave, here are a few final bits of advice: Adding an explanation to the ‘why’ behind your donation button can help to encourage donations. Customizing the appearance of your button can help you integrate it with your site’s existing design. Consider adding a redirect page after users donate to either thank them or offer a free gift. If you’re trying to maximize donations to your site, consider experimenting with the elements above. Otherwise, you’re all set, and your site is equipped to handle donations. Still have questions about the best way to integrate PayPal donations with your WordPress site? Please share in the comments below.

👉
Start your website with Hostinger – get fast, secure hosting here
👈


🔗 Read more from MinimaDesk:


🎁 Download free premium WordPress tools from our Starter Tools page.

Everything You Need to Know About AJAX: Definition, Examples, Pros, and Cons
The Best CMS Platforms of 2025: Choosing the Right Content Management System
My Cart
Wishlist
Recently Viewed
Categories