Skip to content

Commit

Permalink
Added check on cancel exchange
Browse files Browse the repository at this point in the history
  • Loading branch information
woutse committed Dec 9, 2020
1 parent b55ec14 commit bb14b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/Checkout/Exchange.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public function execute()
if ($order->getTotalDue() <= 0) {
$this->logger->debug('Total due <= 0, so not touching the status of the order: ' . $orderEntityId);

return $this->result->setContents('TRUE| Ignoring: order has been paid');
return $this->result->setContents('TRUE| Ignoring: order has already been paid');
}

if ($transaction->isPaid() || $transaction->isAuthorized()) {
Expand Down

0 comments on commit bb14b3b

Please sign in to comment.