Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
bugfix warning for testmode is always active
Browse files Browse the repository at this point in the history
  • Loading branch information
frostblogNet authored and devheidelpay committed Oct 9, 2017
1 parent fd8f09b commit 0d72817
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion includes/classes/class.heidelpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit 0d72817

Please sign in to comment.