@graphcommerce/mollie-magento-payment 8.1.0-canary.5 → 8.1.0-canary.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,104 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.1.0-canary.52
|
|
4
|
+
|
|
5
|
+
## 8.1.0-canary.51
|
|
6
|
+
|
|
7
|
+
## 8.1.0-canary.50
|
|
8
|
+
|
|
9
|
+
## 8.1.0-canary.49
|
|
10
|
+
|
|
11
|
+
## 8.1.0-canary.48
|
|
12
|
+
|
|
13
|
+
## 8.1.0-canary.47
|
|
14
|
+
|
|
15
|
+
## 8.1.0-canary.46
|
|
16
|
+
|
|
17
|
+
## 8.1.0-canary.45
|
|
18
|
+
|
|
19
|
+
## 8.1.0-canary.44
|
|
20
|
+
|
|
21
|
+
## 8.1.0-canary.43
|
|
22
|
+
|
|
23
|
+
## 8.1.0-canary.42
|
|
24
|
+
|
|
25
|
+
## 8.1.0-canary.41
|
|
26
|
+
|
|
27
|
+
## 8.1.0-canary.40
|
|
28
|
+
|
|
29
|
+
## 8.1.0-canary.39
|
|
30
|
+
|
|
31
|
+
## 8.1.0-canary.38
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- [#2305](https://github.com/graphcommerce-org/graphcommerce/pull/2305) [`77e8297`](https://github.com/graphcommerce-org/graphcommerce/commit/77e82976816994336c616208a651cb18ce9ea270) - Fix bug with persist not applying saved changes by moving <FromPersist/> below the form components
|
|
36
|
+
([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
37
|
+
|
|
38
|
+
## 8.1.0-canary.37
|
|
39
|
+
|
|
40
|
+
## 8.1.0-canary.36
|
|
41
|
+
|
|
42
|
+
## 8.1.0-canary.35
|
|
43
|
+
|
|
44
|
+
## 8.1.0-canary.34
|
|
45
|
+
|
|
46
|
+
## 8.1.0-canary.33
|
|
47
|
+
|
|
48
|
+
## 8.1.0-canary.32
|
|
49
|
+
|
|
50
|
+
## 8.1.0-canary.31
|
|
51
|
+
|
|
52
|
+
## 8.1.0-canary.30
|
|
53
|
+
|
|
54
|
+
## 8.1.0-canary.29
|
|
55
|
+
|
|
56
|
+
## 8.1.0-canary.28
|
|
57
|
+
|
|
58
|
+
## 8.1.0-canary.27
|
|
59
|
+
|
|
60
|
+
## 8.1.0-canary.26
|
|
61
|
+
|
|
62
|
+
## 8.1.0-canary.25
|
|
63
|
+
|
|
64
|
+
## 8.1.0-canary.24
|
|
65
|
+
|
|
66
|
+
## 8.1.0-canary.23
|
|
67
|
+
|
|
68
|
+
## 8.1.0-canary.22
|
|
69
|
+
|
|
70
|
+
## 8.1.0-canary.21
|
|
71
|
+
|
|
72
|
+
## 8.1.0-canary.20
|
|
73
|
+
|
|
74
|
+
## 8.1.0-canary.19
|
|
75
|
+
|
|
76
|
+
## 8.1.0-canary.18
|
|
77
|
+
|
|
78
|
+
## 8.1.0-canary.17
|
|
79
|
+
|
|
80
|
+
## 8.1.0-canary.16
|
|
81
|
+
|
|
82
|
+
## 8.1.0-canary.15
|
|
83
|
+
|
|
84
|
+
## 8.1.0-canary.14
|
|
85
|
+
|
|
86
|
+
## 8.1.0-canary.13
|
|
87
|
+
|
|
88
|
+
## 8.1.0-canary.12
|
|
89
|
+
|
|
90
|
+
## 8.1.0-canary.11
|
|
91
|
+
|
|
92
|
+
## 8.1.0-canary.10
|
|
93
|
+
|
|
94
|
+
## 8.1.0-canary.9
|
|
95
|
+
|
|
96
|
+
## 8.1.0-canary.8
|
|
97
|
+
|
|
98
|
+
## 8.1.0-canary.7
|
|
99
|
+
|
|
100
|
+
## 8.1.0-canary.6
|
|
101
|
+
|
|
3
102
|
## 8.1.0-canary.5
|
|
4
103
|
|
|
5
104
|
## 8.0.6-canary.4
|
|
@@ -26,13 +26,6 @@ export function MollieIssuerOptions(props: MollieIssuerOptionsProps) {
|
|
|
26
26
|
return (
|
|
27
27
|
<>
|
|
28
28
|
<form onSubmit={submit} noValidate>
|
|
29
|
-
<FormPersist
|
|
30
|
-
// Since the issuer isn't retrievable from Magento we persist this value.
|
|
31
|
-
form={form}
|
|
32
|
-
name={`PaymentMethodOptions_${code}`}
|
|
33
|
-
persist={['issuer']}
|
|
34
|
-
storage='localStorage'
|
|
35
|
-
/>
|
|
36
29
|
<FormRow>
|
|
37
30
|
<SelectElement
|
|
38
31
|
control={control}
|
|
@@ -53,6 +46,13 @@ export function MollieIssuerOptions(props: MollieIssuerOptionsProps) {
|
|
|
53
46
|
</FormRow>
|
|
54
47
|
</form>
|
|
55
48
|
{children}
|
|
49
|
+
<FormPersist
|
|
50
|
+
// Since the issuer isn't retrievable from Magento we persist this value.
|
|
51
|
+
form={form}
|
|
52
|
+
name={`PaymentMethodOptions_${code}`}
|
|
53
|
+
persist={['issuer']}
|
|
54
|
+
storage='localStorage'
|
|
55
|
+
/>
|
|
56
56
|
</>
|
|
57
57
|
)
|
|
58
58
|
}
|
|
@@ -34,12 +34,15 @@ export function MolliePlaceOrder(props: PaymentPlaceOrderProps) {
|
|
|
34
34
|
// When redirecting to the payment gateway
|
|
35
35
|
if (mollie_redirect_url && mollie_payment_token) {
|
|
36
36
|
await lock({ mollie_payment_token, method: code, order_number })
|
|
37
|
-
|
|
38
|
-
setTimeout(resolve, 1000)
|
|
39
|
-
})
|
|
37
|
+
|
|
40
38
|
await push(mollie_redirect_url)
|
|
41
39
|
} else {
|
|
42
|
-
|
|
40
|
+
console.error(`incomplete mollie response, cannot redirect`, data.placeOrder)
|
|
41
|
+
|
|
42
|
+
form.setError('root', {
|
|
43
|
+
message:
|
|
44
|
+
'An error occurred while processing your payment. Please contact the store owner',
|
|
45
|
+
})
|
|
43
46
|
}
|
|
44
47
|
},
|
|
45
48
|
})
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/mollie-magento-payment",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "8.1.0-canary.
|
|
5
|
+
"version": "8.1.0-canary.52",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,21 +12,21 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/ecommerce-ui": "^8.1.0-canary.
|
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^8.1.0-canary.
|
|
17
|
-
"@graphcommerce/graphql": "^8.1.0-canary.
|
|
18
|
-
"@graphcommerce/graphql-mesh": "^8.1.0-canary.
|
|
19
|
-
"@graphcommerce/image": "^8.1.0-canary.
|
|
20
|
-
"@graphcommerce/magento-cart": "^8.1.0-canary.
|
|
21
|
-
"@graphcommerce/magento-cart-payment-method": "^8.1.0-canary.
|
|
22
|
-
"@graphcommerce/magento-cart-shipping-address": "^8.1.0-canary.
|
|
23
|
-
"@graphcommerce/magento-product": "^8.1.0-canary.
|
|
24
|
-
"@graphcommerce/magento-product-configurable": "^8.1.0-canary.
|
|
25
|
-
"@graphcommerce/magento-store": "^8.1.0-canary.
|
|
26
|
-
"@graphcommerce/next-ui": "^8.1.0-canary.
|
|
27
|
-
"@graphcommerce/prettier-config-pwa": "^8.1.0-canary.
|
|
28
|
-
"@graphcommerce/react-hook-form": "^8.1.0-canary.
|
|
29
|
-
"@graphcommerce/typescript-config-pwa": "^8.1.0-canary.
|
|
15
|
+
"@graphcommerce/ecommerce-ui": "^8.1.0-canary.52",
|
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^8.1.0-canary.52",
|
|
17
|
+
"@graphcommerce/graphql": "^8.1.0-canary.52",
|
|
18
|
+
"@graphcommerce/graphql-mesh": "^8.1.0-canary.52",
|
|
19
|
+
"@graphcommerce/image": "^8.1.0-canary.52",
|
|
20
|
+
"@graphcommerce/magento-cart": "^8.1.0-canary.52",
|
|
21
|
+
"@graphcommerce/magento-cart-payment-method": "^8.1.0-canary.52",
|
|
22
|
+
"@graphcommerce/magento-cart-shipping-address": "^8.1.0-canary.52",
|
|
23
|
+
"@graphcommerce/magento-product": "^8.1.0-canary.52",
|
|
24
|
+
"@graphcommerce/magento-product-configurable": "^8.1.0-canary.52",
|
|
25
|
+
"@graphcommerce/magento-store": "^8.1.0-canary.52",
|
|
26
|
+
"@graphcommerce/next-ui": "^8.1.0-canary.52",
|
|
27
|
+
"@graphcommerce/prettier-config-pwa": "^8.1.0-canary.52",
|
|
28
|
+
"@graphcommerce/react-hook-form": "^8.1.0-canary.52",
|
|
29
|
+
"@graphcommerce/typescript-config-pwa": "^8.1.0-canary.52",
|
|
30
30
|
"@lingui/core": "^4.2.1",
|
|
31
31
|
"@lingui/macro": "^4.2.1",
|
|
32
32
|
"@lingui/react": "^4.2.1",
|