Have you ever wondered how to add a PayPal button to your WordPress blog or website? In this article I’ll show you how easy it is to add a PayPal button to your blog.
A couple of weeks ago I wrote about how to set up the process to give away or sell books on your blog. This is the next article in that series, and today I’ll show you how to integrate PayPal into the process. So in this example, we assume you want to sell an e-book or product on your website and your customers will pay for that product via PayPal.
Firstly, you head over to the PayPal website and login. Once you login, you’ll see some options across the top menu – you select the one labelled ‘Merchant Services’.
Once you’re in the “Merchant Services” section you will see an option to create payment buttons for your website. There are a few options depending on what you are selling, and usually you will select the ‘Sell Individual Items’ button.
Once you’ve selected the ‘Create One Now’ hyperlink, you’ll be taken to a page that has a number of options with regards to how to build the button. There are quite a few options here, but thankfully, PayPal has broken down into three recently simple steps.
Most of us are selling a digital product, so we don’t need to bother about things like inventory.
The main choices are from step three, which is where you can customise some of the advanced features of the button. The important thing to make sure we fill out is the option that is called ‘ take customers to this URL when they finish check out’. This is pretty self-explanatory, but this is where you enter the URL of the page on your blog or website where the product can be downloaded. I’ve previously written an article about how to hide pages in WordPress – have a read of that article if you have any confusion about how to do this.
Once you’ve completed this step, then we obtain the HTML code to insert the button onto our website.
On the right hand side, you will see an image of the button, and on the left-hand side will be the code.
Right click on the code to copy it. Within WordPress open up the sales page that you need to insert this button into.
Position your cursor where you want the button to be inserted, and select the HTML option at the top of the visual editor. Once you’re in the HTML view, simply paste the code that you’ve copied from the PayPal site.
Now in the Visual Editor you switch back to the ‘Visual’ tab. You should be able to see the button in the correct position.
So, now that you have created the button and added it to your website, let’s look at the sales process:
- A customer comes to your sales page and clicks on the buy now button to purchase.
- They are taken to the PayPal website, where they complete the transaction.
- Once the payment is complete, they are redirected back to your website. They are directed to a hidden page that you have created within WordPress, where the product is available to be downloaded.
Now, this is a very simplistic way of setting up your website for purchases. There are other plug-ins that you can purchase to protect the download area, and also to integrate Aweber into the process, so that people who purchase your item are also instantly subscribed to a mailing list.
I hope this explains the process simply enough for you. If you have any questions or queries, please leave a comment below and let me know what you would like to learn.