Skip to content
Litego.io API Magento 2 extension for https://litego.io
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Block
Controller
Helper
Magento
Model
Observer
Setup
etc
view
README.md
composer.json
registration.php

README.md

Magento 2 LiteGo.io extension

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

You can’t perform that action at this time.