Magento

This page will help you install the Numifex plugin for Mangento.

Setup

Magento Plugin

  1. Download magento-numifex.zip from your unique Numifex link to the server. You can also download it on another machine and then transfer it with an FTP client.
$ wget https://repo.pyrofex.io/numifex/{YOUR_KEY}/latest/magento-numifex.zip
  1. Navigate to the magento root folder. Typically it is located in /var/www/magento or /opt/user/magento/htdocs depending on your server. Inside it should contain something like:
CHANGELOG.md
COPYING.txt
Gruntfile.js.sample
LICENSE.txt
LICENSE_AFL.txt
app
auth.json.sample
bin
composer.json
composer.lock
dev
generated
grunt-config.json.sample
index.php
lib
licenses
nginx.conf.sample
package.json.sample
phpserver
pub
setup
update
var
vendor
  1. Inside the app/ folder create a code/ folder if it does not already exist.
$ mkdir -p app/code/
  1. Extract the zip in this folder. The path should look like: app/code/Pyrofex/Numifex.
  2. Enter the command below and check that the module appears in the status list. If it does not appear, double check the path and file permissions.
$ php bin/magento module:status

List of enabled modules:
Magento_Store
Magento_Directory
Magento_Theme
Magento_Backend

...

List of disabled modules:
Pyrofex_Numifex
  1. Enter the commands below to enable the module and clear cache. (For more info see here)
$ php bin/magento module:enable Pyrofex_Numifex
$ sudo php bin/magento setup:upgrade
$ sudo php bin/magento setup:di:compile
$ sudo php bin/magento setup:static-content:deploy -f
$ sudo php bin/magento indexer:reindex
$ sudo php bin/magento cache:clean
$ sudo php bin/magento cache:flush

Give Magento Key to Payment Processor

You need to allow the payment processor to send order information to Magento.

Read more from Magento here.

Give Payment Processor Key to Magento

Now that Magento is setup we need to configure the Numifex payment processor.

  1. In your browser, go to the payment processor admin page. For example http://numifex-host:4000/admin.
  2. Click on Commerce and expand the Magento section.
  3. Enter the URL to your Magento site in the “Magento URL” field. For example http://numifex-host.
_images/magento_config.png
  1. Click on the API Tab. Click Create new API Token.
  2. In another tab, open the WooCommerce admin. Click on the Numifex tab. Copy the field Client Secret from the Numifex page to the WordPress page.
_images/creating_api_token.png

Give Payment Processor URL to Magento

You also need to point the Magento plugin at the payment processor.

  1. In the field “Numifex URL” enter the URL for the payment processor. For example “http://numifex-host:4000”.

Settings

Pricing

You can set price settings for each coin individually. Read more about how these at Pricing.