diff --git a/inc/class-wooviet-vnd-paypal-standard.php b/inc/class-wooviet-vnd-paypal-standard.php index a88d2f5..6fe9aca 100644 --- a/inc/class-wooviet-vnd-paypal-standard.php +++ b/inc/class-wooviet-vnd-paypal-standard.php @@ -33,7 +33,7 @@ class WooViet_VND_Paypal_Standard { public function __construct( $exchange_rate_to_vnd = 22770, $paypal_currency ) { $this->exchange_rate_to_vnd = (int) $exchange_rate_to_vnd; - $this->paypal_currency = $paypal_currency; + $this->paypal_currency = $paypal_currency; // Add VND to the Paypal supported currencies add_filter( 'woocommerce_paypal_supported_currencies', array( $this, 'add_vnd_paypal_valid_currency' ) ); diff --git a/woocommerce-for-vietnam.php b/woocommerce-for-vietnam.php index 8b733d1..77656df 100644 --- a/woocommerce-for-vietnam.php +++ b/woocommerce-for-vietnam.php @@ -81,11 +81,11 @@ class WooViet { /** * Throw a notice if WooCommerce is NOT active */ - public function notice_if_not_woocommerce(){ + public function notice_if_not_woocommerce() { $class = 'notice notice-error'; - $message = __( 'WooCommerce for Vietnam is not running because WooCommerce is not active. Please activate both plugins', - 'woocommerce-for-vietnam' ); + $message = __( 'WooCommerce for Vietnam is not running because WooCommerce is not active. Please activate both plugins', + 'woocommerce-for-vietnam' ); printf( '
%2$s