kyber-network / widget-woocommerce
Woocommerce addon to use Kyber widget as a payment gateway, allow shop to accept coins/tokens payment
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 6
Forks: 92
Open Issues: 5
Type:addon
Requires
- kyber/monitor-kyber-tx: v1.0.11
- dev-master
- v0.2.2.x-dev
- v0.2.2
- v0.2.1.x-dev
- v0.2.1
- v0.2.0.x-dev
- v0.2.0
- v0.1.3
- v0.1.2.x-dev
- v0.1.2
- v0.1.1
- v0.1
- v0.0.2
- dev-develop
- dev-support-multiple-languages
- dev-custom_email
- dev-improve-order-received-page
- dev-improve-css
- dev-hot-fix-tx-url
- dev-add-unit-tests
- dev-release-0.1.3
- dev-release_v0.1
- dev-update-plugin-localization
This package is not auto-updated.
Last update: 2025-01-05 21:33:39 UTC
README
Introduction
Kyber Payment Gateway for WooCommerce
Requirements
- PHP version 7.2+
- WordPress 4.0+
- WooCommerce 3.0+
Installation
Install from source code
- Clone code repo to your /wp-content/plugins/
git clone https://github.com/KyberNetwork/widget-woocommerce
- Install required components
composer install
- Activate plugin
Install from zip file
- Download the plugin zip file
- Unzip to your wordpress folder /wp-content/plugins
- Activate plugin /wp-admin/plugins.php
Usage
After activate, you will find plugin settings under WordPress Dashboard/WooCommerce/Payment. Enable payment gateway will add an option to pay by tokens to your checkout page.
Config
Plugin settings include:
-
Title Title will be display as a payment option for user in checkout pages.
-
Description Description will be display under the payment option, describe what payment gateway is for.
-
Receive Address This is the wallet address where you want to receive the payment. This address is required, without this address payment will not be processed.
-
Receive Token Symbol This is token symbol (currency) which you want to receive from payment. This token is only in list accept to swap by Kyber Network.
-
Network This is Ethereum network where you want the payment gateway runs on. There are 2 options, Ropsten for test and Mainnet for your production.
-
Mode This is mode for display the Kyber Widget. There are 3 options available.
-
Network node endpoint This options is for tracking tx status
-
Block Confirmation Number of block confirmation for confirm tx as success
-
Commission ID Registered ETH address that is part of the fee sharing program
Transaction Monitoring:
- In order to check if the payment is success, we use widget-monitor-php to monitor transaction, you can find details information here
Sample Walkthrough
You can find a sample walkthough on how to use the plugin (with screenshot) here
Developer documentation and contribution guidelines
If you are a developer and want to contribute to the repository, please check out the developer docs and contribution guidelines