spectrocoin/magento2merchant

SpectroCoin cryptocurrency payment gateway for Magento2

1.0.0 2019-06-05 08:11 UTC

This package is not auto-updated.

Last update: 2024-05-03 06:14:46 UTC


README

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.

INSTALLATION

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:

cd /var/www

Create directories for the extension:

mkdir -p app/code/Spectrocoin/Merchant

Clone plugin:

git clone https://github.com/SpectroCoin/Magento-2-Bitcoin-Payment-Gateway-Extension.git ./app/code/Spectrocoin/Merchant

Run magento:

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

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

bin/magento setup:upgrade

bin/magento setup:di:compile

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

bin/magento setup:di:compile

Go to the plugin file directory and install dependencies:

cd app/code/Spectrocoin/Merchant

composer install

CONFIGURATION

  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.

INFORMATION

This plugin has been developed by SpectroCoin.com If you need any further support regarding our services you can contact us via:
E-mail: info@spectrocoin.com
Phone: +442037697306
Skype: spectrocoin_merchant
Web: https://spectrocoin.com
Twitter: @spectrocoin
Facebook: SpectroCoin