Also in that time, it’s risen to a sky-high exchange rate of $1242 per bitcoin and also plummeted to its current $410.30 exchange rate (and it’s changing every minute). As you could probably guess, the peer-to-peer currency isn’t exactly the epitome of stability.
Whether you think Bitcoin is a beauty or a beast, it’s obviously here to stay for the time being. If you’re enthralled by the idea of a cyberspace currency, and would like to learn how to add a Bitcoin donate button into your WordPress site, then you’re in the right place. But first, a few words about exactly who that new kid on the currency block really is.
What Is Bitcoin?
In short, few really understand how Bitcoin works.
But there are a few things we do know. For one, it’s a completely virtual currency, which means that you can’t pay Bitcoin in bills, notes, or even a real coin. All payments occur in the cyberspace. Secondly, there’s a huge amount of it, with the dollar equivalent of over $1.5 billion in Bitcoin circulating today — numerous transactions take place every minute.
You can pay for anything and everything with Bitcoin as long as the merchant in question accepts it. That includes marketing services, website memberships, car rentals, and — ahem, other stuff.
And, in light of this tutorial, you can also use Bitcoin to receive donations on your WordPress blog (or any website, for that matter). Here’s how.
Step 1. Create Your Bitcoin Wallet & BitPay Account
The first thing you need to do is set up your Bitcoin wallet — this is where all the bitcoins you receive will be stored. BlockChain is the most popular Bitcoin wallet service, due to the fact that it’s a free web-based app you can log into anytime from anywhere.
Head over there, select Create My Free Wallet, and fill in the details required on the next page.
WRITE YOUR PASSWORD DOWN — unlike nearly every other Internet service, you won’t be able to recover your BlockChain password if you ever forget it. Furthermore, any bitcoins you might have owned in that account will then be lost forever.
After signing up, a verification e-mail will be sent to the address you provided. Click on the confirmation link provided. Once that loads, click on your unique login link, supply your password (the identifier will automatically be entered), and hit Open Wallet.
Once you login, you’ll be hit with a dashboard that supplies your account’s current information: the number of bitcoins you have, the dollar equivalent, and your Bitcoin address: an alphanumeric code (not confidential) people use to send money to you.
Now, head over to BitPay and create an account. Each account is manually activated, so you’ll have to wait a few hours after signing up to be approved as a member (you’ll be sent an e-mail notification when that happens).
If you’re a mite confused about the difference between Bitcoin, Blockchain, and BitPay, and why you need to sign up for all of them, think of it this way: Bitcoin is the money, Blockchain is your bank, and BitPay is essentially the same thing as PayPal for Bitcoin an e-payment system. Just like centralized banks and PayPal, BlockChain and BitPay have their own competitors and alternatives. But for the most part, they’re the most popular choices.
Step 2. Creating Your Bitcoin Donate Button
Following your BitPay account approval, login to your BitPay dashboard. Click on the Accept Bitcoin link in the top navigational menu (extreme left).
Select the eCommerce option, and then Accept Donations on the next page.
Here’s where you configure your Bitcoin donate button. You can pre-set the donation amount (e.g. $10) for that specific button, or you can allow donors to choose their own donation amount (my personal choice would be the latter option).
After selecting pre-set or custom donations, a few fields will pop up. Fill out the Merchant Name (your personal name or website domain), set a short description, and if you went with a pre-set donation amount, use the provided text box to establish that amount.
You can also customize the URL donors are sent to after completing a transaction (a thank-you page, for example). Lastly, enter a e-mail address to be notified every time a donation is made.
Once you’re all done with that, hit “Generate” to generate the HTML code for your Bitcoin donate button. You can choose from three default sizes: small, medium, and large. Copy the code provided and store it on your computer in a Notepad document.
Step 3. Inserting Your Donate Button in WordPress
Almost there, one last step: inserting the button code into your website. But you can’t just insert the generated HTML into the text editor of a page — you need to first ensure that it will work seamlessly with WordPress. To do that, create a shortcode in your theme’s functions.php file (Appearance > Editor > Functions.php) by copy/pasting the following code:
1
2
3
4
5
6
7
| function wpb_bitcoin_button() { ob_start(); [the bitpay code generated in step 2 goes here] return ob_get_clean(); } add_shortcode( 'bitcoinbutton' , 'wpb_bitcoin_button' ); |
Once you’ve added this code into your functions.php and updated the theme file, you can now use the shortcode [bitcoinbutton] whenever you’d like to display a Bitcoin donate button on your website. Congratulations! You’re all set to start receiving user donations via the world’s most exciting currency!
COMMENTS