Skip to content

Commit c7480be

Browse files
authored
Merge pull request #54 from KyberNetwork/release_v0.1
Release v0.1
2 parents 2028a0f + 5cff5f7 commit c7480be

40 files changed

+2117
-863
lines changed

Changelog.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Kyber Widget WooCommerce Changelog
2+
3+
## Unreleased
4+
- Support multiple languages
5+
6+
### Features:
7+
8+
### Bug fixes:
9+
10+
### Improvements:
11+
12+
### Compatibility
13+
14+
0.1 (2018-01-04)
15+
16+
### Features:
17+
- Upgrade widget to version v0.4
18+
- Add cronjob to monitor transaction fee
19+
20+
### Bug fixes:
21+
- Fix bugs paypal return 0 in subtotal
22+
23+
### Improvements:
24+
- Add form validation to widget settings in admin
25+
26+
### Compatibility

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ Plugin settings include:
8888
- **Commission ID**
8989
Registered ETH address that is part of the [fee sharing program](https://developer.kyber.network/docs/FeeSharingGuide)
9090

91+
## Transaction Monitoring:
92+
- 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)
93+
9194
## Sample Walkthrough
9295

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

README.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ This section describes how to install the plugin and get it working.
4242

4343
e.g.
4444

45-
1. Upload `woo-kyber-payment.php` to the `/wp-content/plugins/` directory
45+
1. Upload `widget-woocommerce` to the `/wp-content/plugins/` directory
4646
1. Activate the plugin through the 'Plugins' menu in WordPress
4747
1. Place `<?php do_action('plugin_name_hook'); ?>` in your templates
4848

admin/class-woo-kyber-payment-admin.php

+4-5
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,8 @@ public function enqueue_styles() {
7272
* between the defined hooks and the functions defined in this
7373
* class.
7474
*/
75-
75+
wp_enqueue_style( "select2-css", plugin_dir_url( __FILE__ ) . 'css/select2.min.css', array(), $this->version, 'all' );
7676
wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/woo-kyber-payment-admin.css', array(), $this->version, 'all' );
77-
7877
}
7978

8079
/**
@@ -95,9 +94,9 @@ public function enqueue_scripts() {
9594
* between the defined hooks and the functions defined in this
9695
* class.
9796
*/
98-
99-
wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/woo-kyber-payment-admin.js', array( 'jquery' ), $this->version, false );
100-
97+
wp_enqueue_script( "select2-js", plugin_dir_url( __FILE__ ) . 'js/select2.min.js', array( 'jquery' ), $this->version, false);
98+
wp_enqueue_script( "sha3-js", plugin_dir_url( __FILE__ ) . 'js/sha3.min.js', array( 'jquery' ), $this->version, false);
99+
wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/woo-kyber-payment-admin.js', array( 'jquery' ), $this->version, false);
101100
}
102101

103102
}

admin/css/select2.min.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

admin/js/select2.min.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)