Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kybernetwork/widget-woocommerce


https://github.com/kybernetwork/widget-woocommerce

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

Kyber Widget WooCommerce




Latest Stable Version


Latest Unstable Version


MIT licensed


Social

# Introduction

Kyber Payment Gateway for WooCommerce

![screenshot](https://github.com/KyberNetwork/widget-woocommerce/blob/master/assets/images/screenshot-2.png)

# Requirements

- PHP version 7.2+
- WordPress 4.0+
- WooCommerce 3.0+

# Installation

## Install from source code

1. Clone code repo to your /wp-content/plugins/

```shell
git clone https://github.com/KyberNetwork/widget-woocommerce
```

2. Install required components

```shell
composer install
```

3. Activate plugin

## Install from zip file

1. Download the plugin [zip file](https://github.com/KyberNetwork/widget-woocommerce/releases)
2. Unzip to your wordpress folder /wp-content/plugins
3. 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](https://kyber.network/swap/eth_knc).

- **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](https://developer.kyber.network/docs/WidgetOverview). 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](https://developer.kyber.network/docs/FeeSharingGuide)

## Transaction Monitoring:
- In order to check if the payment is success, we use [widget-monitor-php](https://github.com/KyberNetwork/widget-monitor-php) to monitor transaction, you can find details information [here](./tx_monitor.md)

## Sample Walkthrough

You can find a sample walkthough on how to use the plugin (with screenshot) [here](./Sample.md)

## Developer documentation and contribution guidelines

If you are a developer and want to contribute to the repository, please check out the [developer docs](./Developer.md) and [contribution guidelines](./CONTRIBUTING.md)

## License

[The MIT License (MIT)](LICENSE)