Skip to content

Commit

Permalink
Merge pull request #3 from daanstokhof/master
Browse files Browse the repository at this point in the history
Fix shipping bug.
  • Loading branch information
IvoWams authored Jul 18, 2019
2 parents fb98751 + fbb9319 commit 54270e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/Pay/Controller/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down

0 comments on commit 54270e3

Please sign in to comment.