OnePay - Add the bank logos in the checkout page #20

This commit is contained in:
htdat
2017-04-22 12:15:15 +07:00
parent 69c7dfae3c
commit 6c76275499
3 changed files with 3 additions and 2 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

+2 -1
View File
@@ -31,7 +31,8 @@ class WooViet_OnePay_Domestic extends WC_Payment_Gateway {
// Define user set variables.
$this->title = $this->get_option( 'title' );
$this->description = $this->get_option( 'description' );
$this->description = $this->get_option( 'description' ) . sprintf( '<br/><div align="center"><img src="%s"></div>', WOO_VIET_URL . 'assets/onepay_domestic.png' );
$this->testmode = 'yes' === $this->get_option( 'testmode', 'no' );
$this->merchant_id = $this->get_option( 'merchant_id' );
$this->access_code = $this->get_option( 'access_code' );
+1 -1
View File
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
}
define( 'WOO_VIET_DIR', plugin_dir_path( __FILE__ ) );
// define( 'WOO_VIET_URL', plugins_url( '/', __FILE__ ) );
define( 'WOO_VIET_URL', plugins_url( '/', __FILE__ ) );
/**
* Start the instance