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:
Create directories for the extension:
mkdir -p app/code/Spectrocoin/Merchant
git clone https://github.com/SpectroCoin/Magento-2-Bitcoin-Payment-Gateway-Extension.git ./app/code/Spectrocoin/Merchant
composer require nategood/httpful (this dependency has to be installed manually)
bin/magento module:enable Spectrocoin_Merchant --clear-static-content
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
Go to the plugin file directory and install dependencies:
Generate private and public keys
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.
# 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" ```
Login in admin panel of your Magento 2 web-shop
Navigate to "Stores -> Configuration -> Sales -> Payment methods"
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: