Skip to content

Commit

Permalink
Hot fix - 1.5.1 - Fix the loading of WooViet_VND_PayPal_Standard
Browse files Browse the repository at this point in the history
  • Loading branch information
htdat committed Sep 13, 2020
1 parent 90543c3 commit 69a51f4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions readme.md
Expand Up @@ -8,6 +8,10 @@ Xem phiên bản tiếng Việt tại đây https://vi.wordpress.org/plugins/woo

## Changelog

### 1.5.1 - 2020.09.13

* Fix the loading of WooViet_VND_PayPal_Standard

### 1.5.0 - 2020.09.10

* Add the OnePay international gateway #74
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Expand Up @@ -4,7 +4,7 @@ Tags: OnePay WooCommerce, OnePay Vietnam, WooCommerce Vietnam, vietnam, vietname
Requires at least: 4.3
Tested up to: 5.5.1
Requires PHP: 5.6
Stable tag: 1.5.0
Stable tag: 1.5.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down
6 changes: 3 additions & 3 deletions woo-viet.php
Expand Up @@ -7,10 +7,10 @@
* Author URI: https://profiles.wordpress.org/htdat
* Text Domain: woo-viet
* Domain Path: /languages
* Version: 1.5.0
* Version: 1.5.1
*
* WC requires at least: 3.0
* WC tested up to: 4.4.1
* WC tested up to: 4.5.1
*
* License: GPLv2+
*/
Expand Down Expand Up @@ -257,7 +257,7 @@ public function main() {

// Check if "Support VND for the PayPal Standard gateway" is enabled
if ( 'yes' == $settings['vnd_paypal_standard']['enabled']
AND class_exists( 'WC_Gateway_PPEC' )
AND class_exists( 'WC_Gateway_Paypal' )
AND 'VND' == get_woocommerce_currency()
) {
include( WOO_VIET_DIR . 'inc/class-wooviet-vnd-paypal-standard.php' );
Expand Down

0 comments on commit 69a51f4

Please sign in to comment.