diff --git a/woocommerce-wirecard-checkout-seamless/classes/class-wirecard-admin.php b/woocommerce-wirecard-checkout-seamless/classes/class-wirecard-admin.php index 5a0009f..bdc48c4 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/class-wirecard-admin.php +++ b/woocommerce-wirecard-checkout-seamless/classes/class-wirecard-admin.php @@ -396,15 +396,21 @@ public function print_transaction_details( $data ) { asort( $operations_allowed ); + $brand = $data->order_details['brand']; + foreach ( $operations_allowed as $operation ) { if ( empty( $operation ) ) { continue; } echo "
"; - if ( $operation == 'DEPOSIT' or $operation == 'REFUND' ) { + + if ( $brand == 'Invoice' ) { + echo ""; + } elseif ( $operation == 'DEPOSIT' or $operation == 'REFUND' ) { echo ""; } + echo ""; echo "
"; diff --git a/woocommerce-wirecard-checkout-seamless/classes/class-wirecard-config.php b/woocommerce-wirecard-checkout-seamless/classes/class-wirecard-config.php index e3d24ec..b645974 100644 --- a/woocommerce-wirecard-checkout-seamless/classes/class-wirecard-config.php +++ b/woocommerce-wirecard-checkout-seamless/classes/class-wirecard-config.php @@ -31,7 +31,7 @@ */ define( 'WOOCOMMERCE_GATEWAY_WCS_NAME', 'WirecardCheckoutSeamless' ); -define( 'WOOCOMMERCE_GATEWAY_WCS_VERSION', '1.0.11' ); +define( 'WOOCOMMERCE_GATEWAY_WCS_VERSION', '1.0.12' ); /** * Config class diff --git a/woocommerce-wirecard-checkout-seamless/woocommerce-wirecard-checkout-seamless.php b/woocommerce-wirecard-checkout-seamless/woocommerce-wirecard-checkout-seamless.php index f2e8fb6..fe38170 100644 --- a/woocommerce-wirecard-checkout-seamless/woocommerce-wirecard-checkout-seamless.php +++ b/woocommerce-wirecard-checkout-seamless/woocommerce-wirecard-checkout-seamless.php @@ -3,7 +3,7 @@ * Plugin Name: Wirecard Checkout Seamless * Plugin URI: https://github.com/wirecard/woocommerce-wcs * Description: Wirecard Checkout Seamless plugin for WooCommerce - * Version: 1.0.11 + * Version: 1.0.12 * Author: Wirecard * Author URI: https://www.wirecard.at/ * License: GPL2