spectrocoin/magento2merchant 1.0.0

SpectroCoin cryptocurrency payment gateway for Magento2





Requires (dev)










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
  • /spectrocoin/ folder from repository should be moved to /app/code/Spectrocoin/Merchant folder in magento.

Copying files and directories to your server manually

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 [email protected]:alexshiii/spectrocoin-magento2.git ./app/code/Spectrocoin/Merchant

Run magento:

user$ composer require nategood/httpful (this dependency has to be installed manually)

user$ bin/magento module:enable Spectrocoin_Merchant --clear-static-content

user$ bin/magento setup:upgrade

Install files via composer

Go to the magento web-root. Enter following command: composer require spectrocoin/magento2merchant

Enter following commands to enable plugin: php bin/magento module:enable Spectrocoin_Merchant --clear-static-content

php 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:

    # 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 SpectroCoin.com If you need any further support regarding our services you can contact us via:
E-mail: [email protected]
Phone: +442037697306
Skype: spectrocoin_merchant
Web: https://spectrocoin.com
Twitter: @spectrocoin
Facebook: SpectroCoin