Do you also want to add a Paypal button that will allow you to accept donations on your website or blog?
PayPal allows you to easily receive donations on your website and in this tutorial, I will show you how to add this type of button on WordPress.
Several bloggers and charities use this feature to raise funds. This allows them to cover their needs or support causes.
Please note: : The first method only works with self-hosted blogs. If you want to add a PayPal button to your WordPress blog.com, then you can use the second method.
Before you start, the first thing you need to do is create a Paypal account. If you already have it, simply log in to your account.
Method one: How to add a PayPal donation button on WordPress using a plugin
The easiest way to get there is to install and activate the plugin " PayPal Donations ", Available on WordPress.org.
After activating this plugin, you will need to access the " Settings> PayPal Donations ».
The first thing to provide is your PayPal email, the one that was used to create your account, then choose a currency.
You can also specify a donation page from your PayPal account but also specify a return URL to which users will be redirected after their donation.
You can create a WordPress page to thank donors and it is the URL of this page that you will use as a return URL.
With regard to gift options, you can set a fixed amount, a reason and a reference for PayPal donations. Finally, you can choose the shape of the donation button.
Now you will be able to display the button using the following shortcode:
[paypal-donation] on any article or page.
You can also display the button on a widget by going to the " Appearance> Widgets ».
The widget has the same settings as those available in the plugin settings. Do not forget to provide a title and text for this widget.
Some free plugins similar
There are several plugins that allow you to add donations buttons on WordPress. Here is a list of 3 plugins that you can use.
- PayPal Donation Button
- PayPal Donation Buttons + MailChimp
- Seamless Donations
Method two: Using a PayPal button manually
WordPress.com does not allow you to install plugins, so you need to add a PayPal button manually to your WordPress site.
This method also works for most WordPress users who do not wish to install a plugin.
The first thing to do is log in to your PayPal account, and click on the menu " Tools " or " tools ". On the next page, click on the button " PayPal Buttons " or " PayPal Buttons ».
On the page, you will need to click on the link " Create new button To create a new button.
On the button creation page, you will have to choose the type of the button in this case: Make a donation Then you can choose the currency, the amount so on. Once you are satisfied with the settings, simply click on " Create a button To create a new button.
On the next page, you will notice a code that will display. By clicking on the "Email" tab you will be able to retrieve the URL you need to create a personalized link.
You can then access your WordPress dashboard and create the link on the page or article on which you want to add your button. It is important that you switch to text editor »
This task is easy for developers to do. You just need to add the URL copied earlier in the "href" attribute of the link type tag. You can optionally add a picture inside.
That's it for this tutorial, I hope it will help you to easily integrate PayPal donation buttons on your WordPress blog. Feel free to share this tutorial with your friends.
Bj, several tries with several buttons in several places, without results. In a page, it is not displayed. In a widget, only the title of the widget is displayed… Sniff…
Hello,
could you share a screenshot of the code used?
Good evening Merlin,
It all depends on your needs.