- 1 How to Add a PayPal Donation Button in WordPress
- 2 Accept donations with PayPal
- 3 Video Paypal donate button on wordpress
How to Add a PayPal Donation Button in WordPress
Dernière update on October 11, 2022by Editorial Team | Reader Disclosure Disclosure : Our content is endorsed by the reader. This means that if you click on some of our links, we may earn a commission. See how WPBeginner is funded, why it’s important, and how you can support us.
Shares 562 Share Tweet Share Facebook Messenger WhatsApp Email
Can you accept a PayPal donate button on your WordPress site?
PayPal makes it very easy to accept donations on their website. It is comfortable, louable, secure and already used by millions of users around the world.
In this article, we will show you how to easily add a PayPal donation button to your WordPress site.
Why use a PayPal donation button in WordPress?
Many bloggers have added PayPal donation buttons on top of WordPress sites to help defray website running costs.
Nonprofit organizations also use their websites to raise funds for their causes. A PayPal donation button provides them with an easy way to accept donations.
Tip: If you are looking for a fundraising solution with more features, check out these best fundraising and donation plugins for WordPress.
Before you begin, you will need to create a PayPal account or log in to your existing account.
Since this is a comprehensive guide, we have created a table of contents so you can easily jump to the section you need:
- 1. How to Add PayPal Donate Button in WordPress (Free Plugin)
- 2. How to Add a PayPal Smart Donation Form in WordPress (Using WPForms)
- 3. How to Manually Add a PayPal Donation Button in WordPress (Code Method)
1. How to Add PayPal Donate Button in WordPress (Free Plugin)
We recommend this method if you can use a free PayPal donation add-on for WordPress. Es simples pero muy limitado en términos de lo que puede hacer.
First, you need to install and activate the PayPal Donations plugin. For more details, check out our step-by-step guide on how to install a WordPress plugin.
Upon activation, go to Settings » PayPal Donations page to create your donation button.
Here, you need to enter your PayPal email address. This is the address you use to log in to PayPal.
The donation currency will default to US dollars. To change this, simply select your preferred currency from the dropdown menu.
You can create a thank you page on your site and configure it as a return page, in the Optional Settings section.
You can optionally add a default amount, purpose, and reference for your PayPal donations.
Then you can select a PayPal button style or enter a URL for a custom button image. You can also change the donation country and language, which defaults to US and US English.
Une fois que vous avez terminé, n’oubliez pas d’appuyer sur le bouton “Enregistrer les modifications” pour enregistrer vos paramètres.
Ajout de votre bouton de don PayPal à votre site Web
The plugin allows you to easily display PayPal donate button anywhere on your WordPress website using a shortcode.
Simply edit the post or page where you want to display the donate button, and then add the shortcode block in the content editor.
Inside the settings, you need to add [paypal-donation] a shortcode. You can now save your changes and preview your post or page.
Here’s the donate button live on our demo site.
This plugin also lets you add the PayPal donations button to a sidebar or footer widget area.
Simply go to the Appearance » Widgets page and drag the PayPal Donations widget to your sidebar or footer.
The widget has the same settings, so all you need to do is provide a title and text. Don’t forget to press the ‘Save’ button to create your widget.
Here’s the donate widget in our demo website’s sidebar.
2. How to Add a Smart PayPal Donation Form in WordPress (using WPForms)
Another great way to create a PayPal donation button is with WPForms. It is the best WordPress form builder plugin on the market used by over 5 million website owners.
WPForms allows you to easily create beautiful donation forms that let you accept payments using a credit card and/or PayPal.
This method gives you more flexibility.
You can collect donor information, add them to your email list, collect phone numbers, run surveys, polls, and more. The best part is that WPForms works with all top email marketing services.
Basically, you can engage with users which helps you create a stronger community.
Note: There is a free version of the WPForms plugin, but you will need the Pro version or higher in order to take PayPal payments.
First, you need to install and activate the WPForms plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.
Upon activation, visit the WPForms » Settings page to enter your license key. You will find this information under your account on the WPForms website.
Next, go to the WPForms » Addons page. Here, you need to install the PayPal Standard Addon. Simply find it in the list then click the ‘Install Addon’ button below it.
The addon will be automatically installed and activated for you.
Now, it’s time to create your donation form.
Simply go to the WPForms » Add New page in your WordPress admin area to launch the form builder.
First, you need to provide a title for your form and then choose the Donation Form template.
WPForms will now automatically load your form template in the WPForms builder. It’s easy to add, remove, or change the fields on your form.
To add a field, simply drag the field from the left-hand side menu. We’ve added a ‘How Did You Hear About Us?’ multiple choice field.
Next, you might want to change the Submit button to read Donate instead.
To do this, either click on the button or go to the Settings » General tab for your form. Under the ‘Submit Button Text, simply add Donate.
Next, you need to go to Payments » Paypal Standard to set up the payments for your form.
Simply check the ‘Enable PayPal Standard payments’ and enter your PayPal email address. Under Payment Type, select Donation.
Once you’re done, click the Save button to store your settings.
Tip: You can send donors a receipt for their donation. Take a look at our instructions on creating a form with multiple recipients for help with this.
Adding Your Donation Form to Your Website
Once you’ve finished creating your PayPal donation form, it’s time to add it to your website.
WPForm makes it super easy to add forms anywhere on your website.
Simply create a new post or page, or edit an existing one. Then, add a WPForms block to the WordPress content editor and select the form you created earlier from the dropdown menu.
Once you’re ready, preview or publish your page to see your donation form.
Congratulations, you’ve now created a smart PayPal donation form in WordPress.
You are now ready to take donations!
3. How to Manually Add a PayPal Donate Button in WordPress (Code Method)
If you don’t want to install a plugin or if you’re using WordPress.com instead of WordPress.org, then you can manually add a PayPal donate button.
First, you need to log in to your PayPal account, and go to the Pay & Get Paid » PayPay Buttons page.
On the next page, you’ll see different types of buttons.
Simply click the ‘Donate’ button option.
Now you can follow the on-screen instructions to create your button.
For example, select your country, language, and button style. When you’re done, click the ‘Continue’ button.
After that, you will have some optional settings.
On the final screen of the button creation wizard, click the ‘Finish and Get Code’ button.
You will now see a page with a Shareable Link.
This is the URL you need. Keep it open in this tab or save it in a safe place.
Next, go to your WordPress admin area and edit a post or page where you want to add the PayPal donate button.
You need to add a new HTML block to your page or use the Text mode if you’re using the Classic editor.
From here, paste the following code into your HTML block:
<a href= “Your Shareable Link that you got from PayPal” target= “_blank” rel= “nofollow noopener” ><img src= “https://www.paypal.com/en_US/i/btn/x-click-but21.gif” alt= “Click to Donate” /></a>
Make sure to replace the words ‘Your Shareable Link that you got from PayPal’ with the actual link from PayPal.
Go ahead and publish your page. You now have a PayPal donate button on your WordPress site, without using a plugin.
If you want to add the donation button to other places on your site, you can also paste this HTML code inside a ‘Custom HTML’ widget to add it to your sidebar or other widget areas of your block-enabled theme.
Here’s a live example of the donate button:
Feel free to click on it to see how it works. You can make a donation to help us if you found this article helpful.
The reason why we chose the shareable link instead of the full donate button code is so you can easily customize the donation image.
Below are some other official PayPal donate buttons. Simply copy the code and replace the image section in your main code above.
<img src= “https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif” alt= “Click to Donate” />
<img src= “https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif” alt= “Click to Donate” />
<img src= “https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif” alt= “Click to Donate” />
<img src= “https://www.paypal.com/en_US/i/btn/x-click-but21.gif” alt= “Click to Donate” />
<img src= “https://www.paypal.com/en_US/i/btn/x-click-but04.gif” alt= “Click to Donate” />
<img src= “https://www.paypal.com/en_US/i/btn/x-click-but11.gif” alt= “Click to Donate” />
If you don’t like any of these images, then you can create your own. Simply upload that image into your WordPress media library and get the direct link to that file. Next, add that link in the code below:
<a href= “Your Sharable Link that you got from PayPal” target= “_blank” rel= “nofollow noopener” ><img src= “The Image URL” alt= “Click to Donate” /></a>
Best PayPal Donation Plugins for WordPress
We recommend the PayPal Donations plugin as the easiest way to add a PayPal donation button to your site. It’s free and very straightforward to use.
If you want to gather information from your donors, then WPForms is the best option for you.
If you would like more options to choose from, then here are some other good PayPal donation plugins.
- Accept Donations with PayPal – This plugin is owned by an official PayPal partner. It has support for all of PayPal’s languages and currencies.
- Seamless Donations – This plugin works with both Stripe and PayPal.
- Bouton de don – Ce plugin peut envoyer un e-mail de confirmation du donateur.
Nous espérons que cet article vous a aidé à ajouter un bouton de don PayPal dans WordPress. Vous aimerez peut-être aussi nos conseils éprouvés sur la façon de gagner de l’argent en ligne avec WordPress et notre guide sur la façon d’augmenter le trafic de votre site Web.
Si vous avez aimé cet article, veuillez vous abonner à notre chaîne YouTube pour les didacticiels vidéo WordPress. Vous pouvez également nous retrouver sur Twitter et Facebook.
Shares 562 Share Tweet Share Facebook Messenger WhatsApp Email
Accept donations with PayPal
Couple Scott Paterson
This plugin will allow you to collect PayPal donations on your website.
Watch this one-minute video on how the plugin works:
You can place a PayPal Donation button anywhere on your site where you want to collect money. Your customers can use their PayPal account or Credit Card to donate money to you.
What makes this PayPal donation plugin powerful is its simplicity. Just install the plugin and in just a few minutes customers from around the world can start donating to you via PayPal.
On the settings page of the plugin you will find clear instructions on how to sign up for a PayPal account if you don’t have one already. The plugin also provides instructions for how to setup a PayPal Sandbox account – which will allow you to setup a fake PayPal buyer and seller account (with fake money) so you can test everything before you start selling to the public.
If you have any problems, questions, or issues about this PayPal plugin then please create a support request and we will get back to you quickly.
This PayPal plugin works with any WordPress theme.
WP Plugin is an offical PayPal Partner based in Boulder, Colorado. You can visit WP Plugins website at wpplugin.org. Various trademarks held by their respective owners.
PayPal Donation Features
- View donations made in your WordPress admin
- Button Manager
- Page / Post Button shortcode Inserter
- Donation Widget
- Built in support for 18 languages (PayPal currently supports 18 languages)
- Built in support 25 currencies (PayPal currently supports 25 currencies)
- Each button can have its own language and currency
- Each button can have its own button image
- Each button can have itw own PayPal account
- PayPal testing with Sandbox mode
- Customer can choose to make a recurring monthly PayPal donation
- Choose from 7 different PayPal donation buttons
- Upload and use your own donation button
- Choose how the PayPal window opens
- Setup a dropdown menu to force certain amounts
Accept Donations with PayPal Pro
We offer a Pro version of this PayPal plugin for business owners who need more features.
- Offer recurring donations.
- Recurring donations can be set up per day, week, month and year.
- Setup donations that recur forever.
- Recurring donations dropdown menu.
- Offer up to 20 amount dropdown menu options instead of 10.
You can learn more about Accept Donations with PayPal Pro here
WP Plugin is an offical PayPal Partner. Various trademarks held by their respective owners.
- Sign in to your WordPress site as an administrator.
- In the main menu go to Plugins -> Add New.
- Search for PayPal Donation Button and click install.
- Configure values on the settings page.
- Make a donation button on the button page. Place the shortcode it creates anywhere on your site to show the button.
- You are now ready to start collecting donations via PayPal on your site.
How do I use this PayPal plugin
Configure values on the settings page. Make a donation button on the button page. Place the shortcode it creates anywhere on your site to show the button.
Can I put more then one shortcode on the same post / page?
Yes, there is no limit to the amount of PayPal donations buttons that you can put on one post / page, or your entire site.
wunschbrunne November 11, 2021
Easy to set up and works like a charm.
Easy to use
dareko May 29, 2019
The only improvement that would be helpful for multi-language sites is additional custom button(s). If there are more than one custom button (e.g. Custom1, Custom2) it would allow to prepare separate buttons for different languages in the same shape. I shouldn’t be huge job for you. Nevertheless great plugin. Good job. Thank you.
AME Network November 15, 2018
Not only is the elusive “shortcode” nowhere to be found, the widget doesn’t display and neither does any widget under it. Wasted over an hour. $75 please! That’s what my time’s worth.
annealex June 12, 2018
Very easy to use plugin. I had a technical problem and the developer was very responsive and updated the plugin to fix the problem. Awesome!
Works well with great support!
MaryMak May 16, 2018
Fait ce qu’il est censé faire. Facile à configurer. Accompagnement très réceptif. Recommande fortement.
Critique 1 étoile ridicule ci-dessous…
darqpony 9 avril 2018
Interesting how the previous 1 star reviewer doesn’t know who the customer is in the statement: “Customer can choose to make a monthly recurring PayPal donation” Duh! I downloaded the plugin and am giving it 5 stars simply because the previous 1 star reviewer can’t track more than one thought process at a time. This is in no way a reflection on the author of the plugin. The plugin works and the plugin author was more than fair in offering the pro version for the misunderstanding of reviewer thought processes. It was not the fault of the author of the plugin and yet, as a good businessman, he proposed a solution. Cheer.
Read all 18 reviews
Contributors & Developers
“Accept Donations with PayPal” is open source software. The following people have contributed to this plugin.
- Scott Paterson
- WP Plugin LLC
Translate “Accept donations with PayPal” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the dev diary via RSS.
- Fix – Added nonce security check on admin commands page.
- Hotfix – Security patch
- Fix – Security issues
- Fix – Security issues
- Fix – Changed logging and debugging variables to use WordPress globals. The plugin now uses: WP_DEBUG and WP_DEBUG_LOG
- Updated – Pro Version Feature List.
- Correction – Impossible de modifier l’avertissement PHP de l’en-tête dans le générateur de pages Divi.
- Correctif – Les attributs de hauteur et de couleur d’arrière-plan du menu déroulant CSS ont été supprimés.
- Correctif – Suppression du titre du bouton !attribut important
- Correction – Faute d’orthographe
- Correction – Le lien ne fonctionnait pas
- Solution : se lance un message d’erreur en rapport avec la fonction du widget.
- Nuevo : capacidad para pasar el nombre como atributo de código abreviado.
- Solution : message d’erreur de PHP causé par le nombre de la classe du widget
- Mise à jour : probado complémentaire à la version 4.8 de WordPress
- Correction : problema de formato de código fijo
- Updated: Updated the right sidebar of the settings page to provide information about the pro version.
- Updated – Changed the name of the plugin, removed the word easy at the beginning.
- Update: Updated version of WordPress probada para etiquetar.
- Correction d’erreurs : l’option 8 of the dropdown menu was not being saved
- Update: updated version of WordPress probada para etiquetar
- Error correction
- Initial version
- Version : 1.3.4
- Last update: hace 5 meses
- Installations actives : 30 000+
- WordPress version: 3.0 or higher
- Probably up to: 6.0.2
- PHP version: 5.4 or higher
charity donate donation donate paypal
- Advanced view
Ratings View all
- 5 stars 14
- 4 stars 2
- 3 stars 0
- 2 stars 0
- 1 star 2
Log in to submit a review.
- scott paterson
- WP Plugin LLC
Incidents resolved in the last two months:
0 out of 2
See support forum
Would you like to support the advancement of this plugin?
Donate to this plugin