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

Commit

Permalink
Merge pull request #7 from heidelpay/develop
Browse files Browse the repository at this point in the history
Bugfix warning for testmode was alway active
  • Loading branch information
devheidelpay authored Oct 9, 2017
2 parents 51b1f75 + 53b078c commit b79a5c9
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 b79a5c9

Please sign in to comment.