Magento 2 Bitcoin Payment Extension
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

SpectroCoin Bitcoin Merchant plugin for Magento 2

This is SpectroCoin Bitcoin Payment Extension for Magento 2. This extenstion allows to easily accept bitcoins (and other cryptocurrencies such as DASH) at your Magento 2 website.

To succesfully use this plugin, you have to have a SpectroCoin Bitcoin wallet. You can get it here. Also you have to create a merchant project to get Merchant and Project IDs, to do so create a new merchant project here.


This plugin can be installed different ways:

  • Copy files and directories to your server

Copying files and directories to your server

Connect to your server by ssh:

$ ssh user:password@server

Go to the magento web-root:

user$ cd /var/www

Create directories for the extension:

user$ mkdir -p app/code/Spectrocoin/Merchant

Clone plugin:

user$ git clone ./app/code/Spectrocoin/Merchant

Run magento:

user$ bin/magento setup:upgrade


  1. Generate private and public keys

    1. Automatically

    Go to SpectroCoin -> Project list click on your project, then select "Edit Project and then click "Generate" (next to Public key field), as a result you will get an automatically generated private key, download and save it. The matching Public key will be generated automatically and added to your project.

    1. Manually

    Private key:

    # generate a 2048-bit RSA private key
    openssl genrsa -out "C:\private" 2048

    Public key: ```shell # output public key portion in PEM format openssl rsa -in "C:\private" -pubout -outform PEM -out "C:\public" ```
  2. Login in admin panel of your Magento 2 web-shop

  3. Navigate to "Stores -> Configuration -> Sales -> Payment methods"

  4. Click on "Bitcoin via Spectrocoin" and fill the form enter your Merchant ID, Project ID and private key.


This plugin has been developed by If you need any further support regarding our services you can contact us via:
Phone: +442037697306
Skype: spectrocoin_merchant
Twitter: @spectrocoin
Facebook: SpectroCoin