Skip to content

Commit da3d175

Browse files
author
Frankie
committed
Auto stash before merge of "master" and "origin/master"
1 parent 92a672b commit da3d175

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

Diff for: CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## 2.2.1
8+
- Improved order management flow for 'PENDING' and 'CANCELLED' payments
9+
710
## 2.2.0
811
- Change flow for PENDING payments coming from Satispay API
912
-

Diff for: Controller/Redirect/Index.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@ public function execute()
4040
$this->_redirect('checkout/onepage/success');
4141
return;
4242
}
43-
if ($satispayPayment->status == 'PENDING') {
43+
44+
if ($satispayPayment->status == 'PENDING') {
4445

4546
$satispayCancel = \SatispayGBusiness\Payment::update($paymentId, [
4647
'action' => 'CANCEL',
4748
]);
48-
49+
4950

5051
if ($satispayCancel->status === 'CANCELED') {
5152
$order->registerCancellation(__('Payment has been cancelled.'));

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Satispay Magento2 Plugin",
44
"type": "magento2-module",
55
"license": "MIT",
6-
"version": "2.2.0",
6+
"version": "2.2.1",
77

88
"keywords": [
99
"satispay",

Diff for: etc/module.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
3-
<module name="Satispay_Satispay" setup_version="2.2.0">
3+
<module name="Satispay_Satispay" setup_version="2.2.1">
44
<sequence>
55
<module name="Magento_Sales"/>
66
<module name="Magento_Payment"/>

0 commit comments

Comments
 (0)