Skip to content

Commit

Permalink
Merge pull request #121 from vippsas/publication-2.2.19
Browse files Browse the repository at this point in the history
VIPPS-395: Exception instead of a success page for payment
  • Loading branch information
voleye authored Sep 14, 2021
2 parents 4f267a9 + 63f08ad commit ffd2747
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Model/TransactionProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ private function placeOrder(QuoteInterface $vippsQuote, Transaction $transaction
$order = $this->orderRepository->get($orderId);

$quote->setReservedOrderId(null);
$quote->setIsActive(false);
$this->cartRepository->save($quote);

return $order;
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "magento2-module",
"description": "Vipps Payment Method",
"license": "proprietary",
"version": "2.2.18",
"version": "2.2.19",
"require": {
"magento/framework": "101.0.*",
"magento/module-sales": "101.0.*",
Expand Down

0 comments on commit ffd2747

Please sign in to comment.