From 0d728175f5d9073d9170091ce4f6afe341a71bcb Mon Sep 17 00:00:00 2001 From: Jens Richter Date: Mon, 9 Oct 2017 17:01:44 +0200 Subject: [PATCH] bugfix warning for testmode is always active --- includes/classes/class.heidelpay.php | 2 +- includes/external/heidelpay/classes/heidelpayPaymentModules.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/classes/class.heidelpay.php b/includes/classes/class.heidelpay.php index 3292cd2..3566af4 100644 --- a/includes/classes/class.heidelpay.php +++ b/includes/classes/class.heidelpay.php @@ -38,7 +38,7 @@ class heidelpay public $actualPaymethod = 'CC'; public $url; /** @var string plugin version aka release date */ - public $version = '17.6.23'; + public $version = '17.10.9'; public $importantPPFields = array( 'PRESENTATION_AMOUNT', 'PRESENTATION_CURRENCY', diff --git a/includes/external/heidelpay/classes/heidelpayPaymentModules.php b/includes/external/heidelpay/classes/heidelpayPaymentModules.php index 50032b5..04517ac 100644 --- a/includes/external/heidelpay/classes/heidelpayPaymentModules.php +++ b/includes/external/heidelpay/classes/heidelpayPaymentModules.php @@ -66,6 +66,7 @@ public function selection() // update order instance global $order; $this->order = $order; + $this->transactionMode = constant('MODULE_PAYMENT_HP' . strtoupper($this->payCode) . '_TRANSACTION_MODE'); // if transaction mode is live return empty array if ($this->transactionMode === 'LIVE') {