litegoio/magento2-lightningpayments

Allow accept lightning payments through LiteGo.io

1.0.0 2019-03-21 08:58 UTC

This package is auto-updated.

Last update: 2024-05-21 20:17:00 UTC


README

LiteGo.io for Magento 2 is a extension that allows to accept Bitcoin Lightning Payments on your website.

Requirements

This extension requires:

How to install

Install via composer (recommended)

Preferred way to install is with Composer as external library is used.

Run the following command in Magento 2 root folder

composer require litegoio/magento2-lightningpayments
php bin/magento setup:upgrade

Install extension from copy-paste package

  • Download the latest version at LiteGo.io for Magento 2

  • Upload files to server in folder ./app/code/LiteGoio/LightningPayments

  • Run the following command in Magento 2 root folder

php bin/magento setup:upgrade

Configuration

After installation has completed go to:

  • in Administration panel go to Stores->Configuration->General->Currency Setup in block Currency Options in field Allowed Currencies select Bitcoin. (with ctrl, don't deselect US Dollar)

  • go to Stores->Currency Rates and set Rate for BTC

  • go to Stores->Configuration->Sales->Payment Methods in block LiteGo.io Payments Enable method and set Merchant ID and Secret Key Settings you can find on site LiteGo.io on page Dashboard->Settings->Api Key

Technical details

This extension modifies some DB fields in standard Magento 2 tables. This is required in order to display price in Bitcoin more accurately.

Modified tables: -quote -quote_item -quote_address -quote_address_item -sales_order -sales_order_item -sales_order_grid -sales_order_payment

Additional information about changes you can find in file ./etc/db_schema.xml