How to Create a Bitcoin Payment Button

Bitcoin Payment Buttons are a great way to accept BTC payments on any website without having to integrate a payment gateway. They are easy to create and require minimal technical know-how.

Here's the video if you prefer that:

Blockonomics has allowed thousands of e-commerce and site owners to accept Bitcoin directly to their wallets. With Blockonomics Payment Buttons, you can add a Pay With Bitcoin widget on any page of your website. You can try a demo out here.

Here’s how to set it up…

Step 1: Create a free merchant account on Blockonomics

Head on over to Blockonomics Merchant page and click on the ‘Get Started for Free’ button.

You will be redirected to a Sign-Up page. Fill out your email and password of your choice and create an account (You will be asked to enter an Activation Code to activate your account).

If you already have an account, simply click on the ‘Log In’ button below ‘Register’.

Step 2: Create your first payment button

After successful registration/login you will be redirected to the Merchants page.

On this screen, you will see two options, ‘Ecommerce Store’ and ‘Payment Button/Links’. Click on ‘Payment Button/Link

You will be redirected to the ‘Wallet’ section, enter the xPub key for the bitcoin wallet where you wish to receive payments.

Instructions to find your xPub key are available on the same page or you can refer to this article.

Then click on ‘Products’, and enter the details of the product such as name, description, etc.

Important: Keep the ‘Donation Mode’ button unchecked.

Also, you can select the details you wish to collect from your customers by checking the ‘Customer Field’ menu.

When your details are set, click Save and then click Generate Button

After clicking Generate Button, a preview of the button will be displayed below it, as well as the code that you will insert into your website.

Click the Pay with Bitcoin button to test and open the payment dialog box.

Step 3: Add the payment button to your website

The last step is easy, however, if you aren’t the technical type, you may want to pass these instructions on to your developer.

Under Step 1, click the Copy Code button to save the button’s HTML code to your clipboard. Log into your website’s admin area and open the page you’d like to add the payment button to. Paste the code exactly where you want the button to appear.

Head back to your payment button details. Under Step 2, highlight then copy the script code to your clipboard. Return to the page on your website that you have added your new payment button, scroll down to the bottom of the page, and paste the script. After saving and publishing your changes, the payment button will appear on the page.

You’re now ready to accept Bitcoin on your website — congratulations!

How do you rate this article?



Frederick Coleman has been working in Bitcoin since 2017. He has had articles published in many online institutions including Hacker Noon and Blockonomics Blog, as well as having writing cited by articles in academic journals.


I write articles on Bitcoin, Politics, Ecommerce, business, and all other kinds of topics.

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.