Skip to content

Commit

Permalink
Fix shipping bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptokittycat committed Jul 17, 2019
1 parent fb98751 commit fbb9319
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 fbb9319

Please sign in to comment.