Kyber Payment Gateway for WooCommerce
- PHP version 7.2+
- WordPress 4.0+
- WooCommerce 3.0+
- Clone code repo to your /wp-content/plugins/
git clone https://github.com/KyberNetwork/widget-woocommerce
- Install required components
composer install
- Activate plugin
- Download the plugin zip file
- Unzip to your wordpress folder /wp-content/plugins
- Activate plugin /wp-admin/plugins.php
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.
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
- In order to check if the payment is success, we use widget-monitor-php to monitor transaction, you can find details information here
You can find a sample walkthough on how to use the plugin (with screenshot) here
If you are a developer and want to contribute to the repository, please check out the developer docs and contribution guidelines