diff --git a/upload/Pay/Controller/Payment.php b/upload/Pay/Controller/Payment.php index 6e06203..2584c2d 100755 --- a/upload/Pay/Controller/Payment.php +++ b/upload/Pay/Controller/Payment.php @@ -145,7 +145,7 @@ public function startTransaction() $taxesForTotals = array(); foreach ($results as $result) { $taxesBefore = array_sum($arrTotals['taxes']); - if ($this->config->get($result['code'] . '_status')) { + if ($this->config->get('total_' . $result['code'] . '_status')) { $this->load->model('extension/total/' . $result['code']); $this->{'model_extension_total_' . $result['code']}->getTotal($arrTotals); $taxAfter = array_sum($arrTotals['taxes']);