How to Create a Bitcoin Payment Button

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…

May 30, 2021 • 3 min read

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.

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!


This is a companion discussion topic for the original entry at https://insights.blockonomics.co/how-to-create-a-bitcoin-payment-button-c038eabb27ef/