Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
25 Million+
Websites using our plugins
Years of WordPress experience
WordPress tutorials
by experts

How to Easily Accept Bitcoin Payments in WordPress (Step by Step)

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Do you want to accept Bitcoin payments in WordPress?

Bitcoin makes it super easy to accept online payments from anywhere in the world. Plus, it helps your customers to protect their privacy and pay anonymously.

In this article, we will show you how to easily accept Bitcoin payments in WordPress.

How to accept bitcoin payments in WordPress

Why Accept Bitcoin Payments in WordPress?

WordPress allows you to build an eCommerce store in minutes using WooCommerce or other WordPress eCommerce plugins.

These platforms let you accept payments online using PayPal, Stripe, 2Checkout, and many other popular payment gateways. In fact, you can accept payments with Stripe or PayPal without even using a shopping cart plugin.

However, not all payment gateways are available everywhere. Some of your clients may not have PayPal available in their region, and others may not want to use their credit cards.

Bitcoin offers an alternate payment method that anyone worldwide can use.

It is one of the most popular cryptocurrencies that’s used as a form of payment. Bitcoin is different from conventional currencies because it’s free from any central control or oversight from governments and banks.

Once you accept payments in Bitcoin, you can transfer them to your bank account or keep them in your wallet. The value of Bitcoin is increasing over time, and it is likely to continue as more people start using the Bitcoin cryptocurrency. Plus, you don’t have to worry about chargebacks or disputes with Bitcoin payments.

Another advantage of offering Bitcoin payments is that they protect customer privacy. Users can pay anonymously using the cryptocurrency.

That said, let’s take a look at how to get started with Bitcoin and integrate it into your WordPress website.

Setting Up a Bitcoin Wallet

First, you will need a Bitcoin wallet. This is a piece of software that you will use to send or receive Bitcoins and store them safely. It’s just like a traditional bank account but for cryptocurrencies.

There are many different types of wallets available. You can install a wallet on your computer or even on your phone. To learn more about wallets and choose the right wallet for your needs, please visit the Bitcoin Wallets page.

For the sake of this tutorial, we will be using Coinbase. It offers a free Google Chrome extension and easily integrates with different WordPress plugins to let you accept Bitcoin in WordPress.

You will need to visit the Coinbase Wallet website and click the ‘Download Coinbase Wallet’ button.

Download Coinbase wallet

Next, you will see different ways to download the Coinbase wallet. It offers mobile apps for iOS and Android and a Chrome extension.

Go ahead and select the ‘Download for Chrome’ option.

Choose download for chrome option

After that, you will see the Google Chrome web store and be able to install the Coinbase extension.

Simply click the ‘Add to Chrome’ button to start the installation.

Add Coinbase wallet from Chrome store

Next, you should see the Coinbase extension in your browser.

When you click it, you will see an option to set up a wallet. Go ahead and click the ‘Create new wallet’ button.

Create a new coinbase account

After that, Coinbase will show you a recovery phrase to keep your wallet safe. You can copy the phrase and keep it safe in a password manager or anywhere else.

Go ahead and click the checkbox and then click the ‘Continue’ button.

Back up your wallet

Next, you will need to verify that you have copied the recovery phrase. Coinbase will ask you to select the first and last words in the phrase.

You can click the ‘Submit’ button when you are done.

Select first and last phrase

On the next screen, Coinbase will ask you to set a password.

Once you have done that, simply check the terms and privacy policy checkbox and click the ‘Submit’ button.

Create a password for wallet

You have successfully created a Coinbase wallet.

Next, you can click the Coinbase Chrome extension icon in your browser.

Click to open wallet extension

After that, you will need an address to receive your Bitcoin payments in the Coinbase wallet.

For that, simply click the ‘Receive’ option in the Coinbase browser extension.

Click the receive button in wallet

Next, you will see different addresses for various cryptocurrencies.

You can navigate to Bitcoin and click the copy to clipboard option to copy the wallet address. As an alternative, there is also an option to generate a QR code.

Copy bitcoin wallet address

You can now save the Bitcoin wallet address from Coinbase in a Notepad file, as you will need it in the next step.

Setting Up a Digital Payment Processing Provider

Next, you will need to sign up for a NOWPayments account.

It is an online payment processing service that lets you accept Bitcoin, Ethereum, and over 200 different cryptocurrencies worldwide.

To start, just visit the NOWPayments website and click the ‘Accept Crypto’ button.

Accept crypto donations with NOWPayments

Next, you will need to create an account. Go ahead and enter your email address and password.

Once you’ve entered these details, you need to click the user agreement checkbox, reCAPTCHA, and the ‘Create an account’ button.

Create a nowpayments account

After that, you will receive a confirmation email.

Simply click the link in the email to verify your account, and then log in to NOWPayments to view the dashboard.

NOWPayments dashboard

Next, head over to the Settings » Payment settings from the menu on your left.

Here, you can click on the ‘Add another wallet’ button.

Add another wallet

After that, you can choose ‘BTC’ from the dropdown menu and add Bitcoin as the currency.

From here, simply enter the Coinbase wallet address you copied earlier.

Select BTC and enter wallet address

Once you are done, simply click the green tick button to add the wallet.

As soon as you add the wallet, NOWPayments will create an API key. You will need this key when adding a payment option to your WooCommerce store or WordPress site.

Copy the API key for wallet

Next, you can scroll down to the Instant Payment Notifications section.

Under the ‘IPN secret key’ field, go ahead and click the ‘Generate’ button.

Generate IPN secret key

Once the secret key is generated, you should copy and save it, as you will need it in the next step.

After completing these steps, you are ready to accept payments on your website.

Accepting Bitcoin Payments in WooCommerce With NOWPayments

If you are already using WooCommerce, then this method is recommended for you.

The first thing you need to do is install and activate the NOWPayments For WooCommerce plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, you need to visit the WooCommerce » Settings page from your WordPress dashboard and click on the ‘Payments’ tab.

Next, make sure that the NOWPayments method is enabled, and then click on the ‘Finish set up’ button to configure its settings.

Set up nowpayments in WooCommerce

Next, you will need to enter the IPN Secret and API Key in the respective fields that we created earlier.

You can find both keys in your NOWPayments Payment settings tab.

Enter live API and IPN secret key

After entering these details, don’t forget to save your changes to activate the payment gateway.

Your customers will now see an option to pay using NOWPayments on your store’s checkout page.

View nowpayments on online store

Accepting Bitcoin Donations in WordPress With NOWPayments

This method is recommended for users who want to accept donations but are not using a shopping cart or eCommerce plugin on their WordPress websites.

NOWPayments allows you to create a Bitcoin donation button and donation widget for your website.

First, you will need to log in to your NOWPayments account and head over to Payment Tools » Donations from the menu on the left.

Bitcoin donation link

Here, you can create a link for your donation widget and choose which fields to show and make required in the widget.

Don’t forget to click the ‘Save’ button when you are done.

You can also choose a donation button style and select your API key.

Choose donation button style

After that, you need to go back to WordPress and edit or create a new page or post where you’d like to display your Bitcoin donation widget and button.

Once you are in the WordPress editor, go ahead and click the ‘+’ button to add a Custom HTML block.

Adding custom code to your website

Next, you will need to enter the following code to show a donation widget:

<iframe src="" frameborder="0" scrolling="no" style="overflow-y: hidden;" width="354" height="680"></iframe>

Note: You will need to replace the API key placeholder with the key you generated in the NOWPayments Store Settings.

Now, just publish your blog post or page to see the donation widget in action. Your visitors can now choose Bitcoin and other cryptocurrencies for donation.

NOWPayments Bitcoin screen

To learn more, please follow our guide on how to add a Bitcoin donate button in WordPress.

We hope this article helped you learn how to accept Bitcoin payments in WordPress. You may also want to see our ultimate step-by-step WordPress security guide for beginners and our expert picks of the best WordPress eCommerce plugins.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

12 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Dennis Muthomi says

    I’ve been wanting to start accepting crypto payments on my WooCommerce store, and this guide breaks it down nicely.

    ONE QUESTION THOUGH:- how do the transaction fees for Bitcoin payments compare to regular payment gateways like Stripe or PayPal?
    I have never tried crypto stuff before….is it significantly cheaper or more expensive?

    • WPBeginner Support says

      The transaction fees change over time so you would need to check with the tool for their current charge comparison.


  3. Jiří Vaněk says

    Thanks for the tutorial. I also have a donate section on the website, and since it is a technology blog, it would be quite fun to implement there, in addition to PayPal and the classic bank transfer, the option to donate using Bitcoin. This is a great inspiration that only just occurred to me.

  4. Ralph says

    Great guide on incorporating Bitcoin payments into WordPress! The article is really beginner friendly. Clear step by step instructions with screenshots make it easy to follow. A suggestion for anyone – keep in mind cryptocurrency change all the time and you may earn more than you wanted, but also less if you don’t monitor the changes.

  5. Jude says

    Awesome Post.

    I am following the steps now to receive bitcoin payment in my store.

    I noticed your link to the bitpay plugin is not the correct one.

    • WPBeginner Support says

      That is a slightly different plugin, we will look into updating our article should it be a better fit


  6. Aissa BOUGUERN says

    Nice tutorial,
    I just want to know if i can use the second way (Payment without shopping cart) to add a donation button in my blog ?
    Thank you!

  7. Liberty Etin says

    Nice write up. Please am also interested to ask, will it be possible for me to use this payment option in a form where my customers can enter credit card details and I get paid the deducted equivalent in bitcoins. Thanks

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.