Paypal donate button on wordpress

New Page

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.

Aggregate PayPal Donate Button in WordPress Add a PayPal Donate Button in WordPress

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.

Add your PayPal account email address to the PayPal Donations plugin settings Add your PayPal account email address to the PayPal Donations plugin settings

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.

Establezca los valores predeterminados para sus donaciones de PayPal Définir les valeurs par défaut pour vos dons PayPal

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.

Elija el estilo del botón de donación que desea usar en su sitio Choisissez le style de bouton de don que vous souhaitez utiliser sur votre site

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.

Ajout d'un bloc de shortcode à votre site pour saisir le shortcode PayPal Donations Ajout d'un bloc de shortcode à votre site pour saisir le shortcode PayPal Donations

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.

Le bouton Faire un don sur notre site de démonstration Le bouton Faire un don sur notre site de démonstration

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.

Ajout du widget de dons PayPal à la barre latérale Ajout du widget de dons PayPal à la barre latérale

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.

Le widget Faire un don en direct dans la barre latérale de notre site Web de démonstration Le widget Faire un don en direct dans la barre latérale de notre site Web de démonstration

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.

Saisie de votre clé de licence WPForms sur votre site Saisie de votre clé de licence WPForms sur votre site

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.

Installation de l'addon PayPal Standard dans WPForms Installation de l'addon PayPal Standard dans WPForms

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.

Select donation form template Select 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.

Edit your form template Edit your form template

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.

Changing the text on the Submit button Changing the text on the Submit button

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.

Enabling PayPal payments for your form in WPForms Enabling PayPal payments for your form in WPForms

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.

Creating a WPForms block and selecting your form from the dropdown list Creating a WPForms block and selecting your form from the dropdown list

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.

Viewing the completed donations form on the website Viewing the completed donations form on the website

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.

Selecting the PayPal Buttons menu option Selecting the PayPal Buttons menu option

On the next page, you’ll see different types of buttons.

Simply click the ‘Donate’ button option.

Select the Donate button type Select the Donate button type

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.

Following the on-screen steps to create the donation button Following the on-screen steps to create the donation 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.

Finish creating your donation button and get the code for it Finish creating your donation button and get the code for it

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.

Getting the shareable link for your new PayPal donate button Getting the shareable link for your new PayPal donate button

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.

Adding an HTML block in the WordPress block editor Adding an HTML block in the WordPress block editor

From here, paste the following code into your HTML block:

1

<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.

The PayPal button HTML code in the HTML block The PayPal button HTML code in the HTML block

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:

Donate to WPBeginner Donate to WPBeginner

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.

Customization Options

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.

Option 1

Click to Donate Click to Donate

1

<img src= “https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif” alt= “Click to Donate” />

Option 2

Click to Donate Click to Donate

1

<img src= “https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif” alt= “Click to Donate” />

Option 3

Click to Donate Click to Donate

1

<img src= “https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif” alt= “Click to Donate” />

Option 4

Click to Donate Click to Donate

1

<img src= “https://www.paypal.com/en_US/i/btn/x-click-but21.gif” alt= “Click to Donate” />

Option 5

Click to Donate Click to Donate

1

<img src= “https://www.paypal.com/en_US/i/btn/x-click-but04.gif” alt= “Click to Donate” />

Option 6

Click to Donate Click to Donate

1

<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:

1

<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

icon-256x256

To download

Accept donations with PayPal

Couple Scott Paterson

  • Details
  • Comments
  • Installation
  • Support
  • Development

La description

Insight

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.

Screenshots

screenshot-1 Donation Button

screenshot-2 Settings Page

screenshot-3 buttons Page

screenshot-4 Orders Page

screenshot-5 Widget Page

screenshot-6 Button Inserter

Donation Button

Settings Page buttons Page Orders Page Widget Page Button Inserter

Installation

Automatic Installation

  1. Sign in to your WordPress site as an administrator.
  2. In the main menu go to Plugins -> Add New.
  3. Search for PayPal Donation Button and click install.
  4. Configure values on the settings page.
  5. Make a donation button on the button page. Place the shortcode it creates anywhere on your site to show the button.
  6. You are now ready to start collecting donations via PayPal on your site.

FAQ

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.

Reviews

1d4504749c3d9dfe33c0a9aab92517b6

Works great

wunschbrunne November 11, 2021

Easy to set up and works like a charm.

f97c98ab3057cd69fe0550e332cc5ba2

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.

5fd3ac2b365032e39ffc6fe7d9817036

Doesn’t work

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.

81c8e0e39e2dbaab42bf6087abe4ee0f

Works great!

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!

bd1b0074917237c2886fc87ac8b2bd15

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.

b33ea0487860b7f70646e1b45fd77867

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.

Contributors

  • df9b49b79ba5989856578add947621caScott Paterson
  • 5d0a2c06b5e7bd66f3395e152e39ddc2WP 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.

Change log

1.3.4

  • 09/12/21
  • Fix – Added nonce security check on admin commands page.

1.3.3

  • 03/12/21
  • Hotfix – Security patch

1.3.2

  • 14/10/21
  • Fix – Security issues

1.3.1

  • 01/10/21
  • Fix – Security issues

1.3

  • 09/11/20
  • 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.

1.2.9

  • 12/06/18
  • 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.

1.2.8

  • 16/05/18
  • Correctif – Suppression du titre du bouton !attribut important

1.2.7

  • 16/05/18
  • Correction – Faute d’orthographe
  • Correction – Le lien ne fonctionnait pas

1.2.6

  • 09/03/18
  • Solution : se lance un message d’erreur en rapport avec la fonction du widget.

1.2.5

  • 31/01/18
  • Nuevo : capacidad para pasar el nombre como atributo de código abreviado.

1.2.4

  • 24/01/18
  • Solution : message d’erreur de PHP causé par le nombre de la classe du widget

1.2.3

  • 15/06/17
  • Mise à jour : probado complémentaire à la version 4.8 de WordPress
  • Correction : problema de formato de código fijo

1.2.2

  • 26/08/16
  • Updated: Updated the right sidebar of the settings page to provide information about the pro version.

1.2.1

  • 20/08/16
  • Updated – Changed the name of the plugin, removed the word easy at the beginning.
  • Update: Updated version of WordPress probada para etiquetar.

1.2

  • 08/02/15
  • Correction d’erreurs : l’option 8 of the dropdown menu was not being saved
  • Update: updated version of WordPress probada para etiquetar

1.1

  • 20/12/15
  • Error correction

1.0

  • 12/11/15
  • Initial version

Meta

  • 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
  • Labels:

    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.

Collaborators

  • df9b49b79ba5989856578add947621cascott paterson
  • 5d0a2c06b5e7bd66f3395e152e39ddc2WP Plugin LLC

Support for

Incidents resolved in the last two months:

0 out of 2

See support forum

To give

Would you like to support the advancement of this plugin?

Donate to this plugin

Google Google translator

Google Google Translate


Video Paypal donate button on wordpress

Related Posts

Free chat room code for my website

Contents1 How to set up a free chat room on the website.2 3 comentarios2.1 Trackbacks/Pingbacks2.2 Submit a Comment Cancel reply3 How to Create a Chat Room Website…

Background image full screen css

Contents1 Cómo – Full Page Image1.1 Example1.2 Example2 CSS background image tamaño tutorial: how to codify a complete page background image3 Perfect Full Page Background Image3.1 Méthode CSS géniale,…

WordPress leverage browser caching

Contents1 Aproveche el almacenamiento in hidden del navegador1.1 Will it works for my website?1.2 Where are plugin options1.3 Some JavaScript files still display under Leverage Browser Caching1.4…

WordPress post to facebook page

Contents1 How to Automatically Post to Facebook from WordPress1.1 Download Now: How to Launch a WordPress Website [Free Guide + Checklist]1.2 1. Create an IFTTT account.1.3 2….

Download images from wordpress media library

Contents1 How to export your WordPress media library1.1 Download maintenant : How to launch a WordPress website [Free Guide + Checklist]1.2 How to export your WordPress media…

WordPress single post template

Contents1 How to Create Custom Unique Post Templates in WordPress2 Post Template Files2.1 author.php2.2 Fecha.php3 Handbook navigation4 How to Create Custom Single Post Templates in WordPress5 Video…