How to Add a Paypal Button to WordPress
There are a couple of different reasons that you might want to add a PayPal button to your WordPress site. If you are using your WordPress site for a business, you can give your customers a way to pay online. You can also build your blog around a specific cause and then use a PayPal donate button to raise funds for that charity.
Some people are putting PayPal donate buttons on their site as a way to defray the costs of web hosting. Be warned that PayPal specifically intends the Donate button to be used for charities and nonprofit organizations. I have not heard of anyone being banned from PayPal for using it to fund their blog, but the wording of their terms and conditions does make it a possibility.
There are countless plugins designed for adding a PayPal button to your WordPress site. Many of them are free and provide great service. If you would rather do this without a plugin, then keep reading.
Create PayPal Button
The first thing you need to accept money through PayPal is a PayPal account. Even if you already have one, you may need to upgrade to a Premier or Business account in order to accept payments through them. Once you are logged in, click on the Merchant Services tab near the top of the page.
Once you are on the Merchant Services page, you will see a list of payment types that you can design a button for, such as Add to Cart, Buy Now, and Donate. Once you select a payment type, you will be taken to another screen to create a button. Most of the form is fairly self explanatory. Once you have it all filled out, click on Create Button at the bottom of the screen.
You will receive two codes: one for website and another for email. I know it seems like you should use the website code since you’re putting this on a WordPress site, but the email code seems to work better for most people. Copy this code and then go to your WordPress admin panel.
Listen to the Latest Episodes Right Now.
Add PayPal Button to WordPress
If you are going to put the button on a post or a page, open the HTML editor for an existing page or create a new one. The first thing you need to do is create an image for a button. You can use any image you want, but I strongly recommend using PayPal’s default button. Here’s why.
With the increased awareness of hacking and identity theft, people are becoming more cautious about entering their information online. If they randomly stumble across your site and decide to buy something, they make change their minds once they actually have to put in their credit card information. PayPal is a very recognized name and people trust them with their financial information. That’s probably why you decided to use them on your site in the first place, in addition to it being easier than trying to design your own shopping cart from scratch.
So, if you’ve decided to go with PayPal because they are a trusted, recognizable source, keep them recognizable. There are a variety of different button styles that you can choose from within PayPal’s website. Unless it is very important that your payment button to match the color scheme of the rest of your site, stick with PayPal’s designs in order to build people’s trust.
In any case, you need to pick an image and insert it into your WordPress page or post where you want your payment button to be. After that, create a link to your image and paste in the code that you got from PayPal. Once that link is formed, your button should be up and running.
If you want to put your payment button in a sidebar, you do almost the exact same thing. In your WordPress admin area, go to Appearance>>Widgets. From there, drag a text widget to whatever part of the page that you want the PayPal button to appear.
You will need to go through the same steps of inserting an image and then linking it to the code that you got from PayPal. The easiest way to do this is to create the button in a new post and then copy the code and paste it into your text widget. This is much simpler than trying to create the button in a widget.
When you are all done, this is the code that should be in your text widget that will display as a functional payment button:
a href=”URL YOU GOT FROM PAYPAL” target=”_blank” rel=”nofollow”
img src=”URL OF IMAGE FOR BUTTON” alt=”alt” /
Paypal Plugins for WordPress
If you are having difficulty with this code, your best bet is probably to find a plugin that accomplishes the same thing and activate that. Here are some of the easiest to use and most popular WordPress plugins for integrating PayPal with your site.
Simple PayPal Shopping Cart:
This plugin uses shortcodes to make adding PayPal buttons very easy. It also allows users to review their shopping cart without leaving your site. Shipping costs are calculated within the plugin and coupon codes can be entered and applied.
Ultra Simple PayPal Shopping Cart:
This accomplishes many of the same things as the previous plugin. It’s easier to use if customers have to make choices on their purchases, such as selecting a color and size.
WP Easy PayPal Payment Accept:
This plugin is designed for “Pay Now” buttons. It designed around PayPal widgets, but they work the same as WordPress widgets. This plugin also works well for donations.
These are just a few of the available plugins. There are many, many more that do much of the same with slight variations. If the code in this article does not work for you, any of these plugins should build your PayPal button for you.