Skip to content

Commit

Permalink
Merge pull request #120 from vippsas/publication-2.3.22
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 6a05617 + cd9d46a commit d5e95df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Model/TransactionProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,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.3.21",
"version": "2.3.22",
"require": {
"magento/framework": "102.0.*",
"magento/module-sales": "102.0.*",
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
~ IN THE SOFTWARE.
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Vipps_Payment" setup_version="2.3.21">
<module name="Vipps_Payment" setup_version="2.3.22">
<sequence>
<module name="Magento_Sales" />
<module name="Magento_Payment" />
Expand Down

0 comments on commit d5e95df

Please sign in to comment.