Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rvelhote/opennode-magento
Magento 1.9 Plugin for OpenNode Bitcoin Payment Gateway
https://github.com/rvelhote/opennode-magento
bitcoin lightning-network magento magento-extension magento1-extension openmage opennode-magento payment-gateway payment-integration
Last synced: 3 months ago
JSON representation
Magento 1.9 Plugin for OpenNode Bitcoin Payment Gateway
- Host: GitHub
- URL: https://github.com/rvelhote/opennode-magento
- Owner: rvelhote
- License: mit
- Created: 2018-12-19T20:29:14.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-15T13:23:26.000Z (almost 4 years ago)
- Last Synced: 2024-06-08T01:35:08.613Z (5 months ago)
- Topics: bitcoin, lightning-network, magento, magento-extension, magento1-extension, openmage, opennode-magento, payment-gateway, payment-integration
- Language: PHP
- Size: 411 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-openmage - Bitcoin
README
# OpenNode Magento 1.9 Module
Magento 1.9 Plugin for OpenNode Bitcoin Payment GatewayThis module is still in development little by little
1. Configure API keys in the backoffice
2. Select the *Bitcoin* payment method during checkout
3. When placing the order you will be redirected to a page where customers are presented with
a couple of QR Codes with the payment addresses (or links to pay with the wallet)
4. Customers can pay and then move to the default Magento success page. A task is continuously checking for the payment
status in the background and informs the user of the progress
5. A cronjob will cancel *Pending Payment* orders automaticallyThe module was only tested with the default theme and Onepage Checkout.
# Requirements
- Magento 1.9 (and all the basic requirements that go with it)
- Only PHP 7.3+ is supported# Check it Out (For TEST environments only)
1. Run `composer install`
2. Run `bash shell/docker.bash` to setup some custom docker containers for development
3. Run `docker-compose up` to setup an environment
4. You should add the following lines to your hosts file `127.0.0.1 development.opennode.co db mailhog`
5. [Download](https://easyupload.io/xbtp0p) the Magento Sample Data. You don't have to use the
sample data of course but that means you wil have to create products and categories yourself
6. Extract the sample data and copy the resulting folder to the *data* folder
7. Run `bash shell/install.bash` from the root directory of the project. This will setup a default Magento store with
actual products and categories. All products will be discounted by 99% to make sure you don't spend all your Testnet
coins. It will also ask you to input your development key which you should get from your account at OpenNodeYou can modify the key or check out additional configuration settings in:
`System » Configuration » Payment Methods » OpenNode Bitcoin`# Sample Environment
Backend: `http://development.opennode.co/admin/`
User: `admin`
Pass: `password123`---------------------------------------
Frontend: `http://development.opennode.co/`
User: `[email protected]`
Pass: `password123`# Cronjob
To test the Crojob that handles the cancellation of pending order run the following command from the project root:
`./bin/n98-magerun.phar --root-dir=src - sys:cron:run opennode_bitcoin`# Missing
- Add translation files
- What to do if the user navigates away from the payment?
- Create a companion module to add the BTC currency to Magento so that payments can be made in BTC
- Better Unit Test coverage