uPlexa 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 uPlexa wallet and uplexa-wallet-rpc This can be downloaded from uplexa.com or cloned from the uPlexa 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/uplexa/uplexa-magento" } ],
- 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 uplexaintegrations/uplexapayment
- 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 uplexa-wallet-rpc with the following command:
./uplexa-wallet-rpc --rpc-bind-port 21065 --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 "uPlexa Payment"
- Select "Yes" for "Enabled" and enter your uplexa-wallet-rpc address and port