Skip to content

Commit

Permalink
fix failure page for single order
Browse files Browse the repository at this point in the history
  • Loading branch information
hakiemaul committed Jun 11, 2020
1 parent da1e1c3 commit aa6ddcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Xendit/M2Invoice/Controller/Checkout/Failure.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function execute()
}
}
} else { //onepage
$order = $this->getOrderById($orderIds[0]);
$order = $this->getOrderById($this->getRequest()->get('order_id'));

if ($order) {
$this->getLogger()->debug('Requested order cancelled by customer. OrderId: ' . $order->getIncrementId());
Expand Down

0 comments on commit aa6ddcd

Please sign in to comment.