Monero Payment Gateway for Magento 2
- Magento2 This can be downloaded from magento.com or from cloning their GitHub repo
- A webserver! preferably with the latest versions of PHP and MySQL
- A Monero wallet and monero-wallet-rpc This can be downloaded from getmonero.org or cloned from the Monero-Project GitHub repo
Installing with composer is the easiest way to install this plugin.
- First, add this repo to your root composer.json file. The
"repositories"
section of your root composer.json should look like this:"repositories": [ { "type": "vcs", "url": "https://github.com/monero-integrations/moneromagento" } ],
- Make sure that your
"minimum-stability"
is set to"dev"
. It should look like this"minimum-stability": "dev",
- Then you can simply type
php composer require monerointegrations/moneropayment
- Run
php bin/magento setup:upgrade
- Flush cache with
php bin/magento cache:flush
- Clean cache with
php bin/magento cache:clean
- Start up your monero-wallet-rpc with the following command:
./monero-wallet-rpc --rpc-bind-port 18082 --disable-rpc-login --log-level 2 --wallet-file /path/walletfile
. It is recommended that you use the--rpc-login
flag.
- First, navigate to you site admin panel
-Within that admin panel, navigate to
Stores > Configuration > Sales > Payment Methods
. - Under "Other Payment Methods" select "Monero Payment"
- Select "Yes" for "Enabled" and enter your monero-wallet-rpc address and port