@graphcommerce/mollie-magento-payment 9.0.4-canary.0 → 9.0.4-canary.10
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,26 +1,32 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 9.0.4-canary.
|
|
3
|
+
## 9.0.4-canary.10
|
|
4
4
|
|
|
5
|
-
## 9.0.
|
|
5
|
+
## 9.0.4-canary.9
|
|
6
6
|
|
|
7
|
-
## 9.0.
|
|
7
|
+
## 9.0.4-canary.8
|
|
8
8
|
|
|
9
|
-
## 9.0.
|
|
9
|
+
## 9.0.4-canary.7
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
## 9.0.4-canary.6
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
## 9.0.4-canary.5
|
|
14
14
|
|
|
15
|
-
## 9.0.
|
|
15
|
+
## 9.0.4-canary.4
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
## 9.0.4-canary.3
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
## 9.0.4-canary.2
|
|
20
20
|
|
|
21
|
-
## 9.0.1
|
|
21
|
+
## 9.0.4-canary.1
|
|
22
22
|
|
|
23
|
-
## 9.0.
|
|
23
|
+
## 9.0.4-canary.0
|
|
24
|
+
|
|
25
|
+
## 9.0.2
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- [`dc70489`](https://github.com/graphcommerce-org/graphcommerce/commit/dc70489c82aaf532bed7a6a500de8eae988e3773) - Support Magento 2.4.7 placeOrder.errors field when placing a Mollie order ([@paales](https://github.com/paales))
|
|
24
30
|
|
|
25
31
|
## 9.0.0
|
|
26
32
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SelectElement } from '@graphcommerce/ecommerce-ui'
|
|
2
2
|
import { useFormGqlMutationCart } from '@graphcommerce/magento-cart'
|
|
3
3
|
import type { PaymentOptionsProps } from '@graphcommerce/magento-cart-payment-method'
|
|
4
|
-
import {
|
|
4
|
+
import { filterNonNullableKeys, FormRow } from '@graphcommerce/next-ui'
|
|
5
5
|
import { FormPersist, useFormCompose } from '@graphcommerce/react-hook-form'
|
|
6
6
|
import { SetMolliePaymentMethodIssuerOnCartDocument } from './SetMolliePaymentMethodIssuerOnCart.gql'
|
|
7
7
|
|
|
@@ -8,10 +8,10 @@ import { Alert } from '@mui/material'
|
|
|
8
8
|
import Script from 'next/script'
|
|
9
9
|
import { useEffect, useState } from 'react'
|
|
10
10
|
import type { Mollie } from '../../Mollie'
|
|
11
|
-
import { MollieField } from './MollieField'
|
|
12
|
-
import { SetMolliePaymentMethodTokenOnCartDocument } from './SetMolliePaymentMethodTokenOnCart.gql'
|
|
13
11
|
import type { MollieContext } from './mollieContext'
|
|
14
12
|
import { mollieContext } from './mollieContext'
|
|
13
|
+
import { MollieField } from './MollieField'
|
|
14
|
+
import { SetMolliePaymentMethodTokenOnCartDocument } from './SetMolliePaymentMethodTokenOnCart.gql'
|
|
15
15
|
|
|
16
16
|
declare global {
|
|
17
17
|
interface Window {
|
|
@@ -32,7 +32,7 @@ export function MolliePaymentHandler({ code }: PaymentHandlerProps) {
|
|
|
32
32
|
const { called, error, data } = handleResult
|
|
33
33
|
|
|
34
34
|
useEffect(() => {
|
|
35
|
-
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
35
|
+
// eslint-disable-next-line @typescript-eslint/no-floating-promises, @typescript-eslint/no-extra-semi
|
|
36
36
|
;(async () => {
|
|
37
37
|
if (!isActive) return
|
|
38
38
|
if (lockState.locked && lockState.justLocked) return
|
|
@@ -63,7 +63,7 @@ export function MolliePaymentHandler({ code }: PaymentHandlerProps) {
|
|
|
63
63
|
router.replace('/checkout/payment')
|
|
64
64
|
}
|
|
65
65
|
})()
|
|
66
|
-
}, [called, error, handle, isActive, lockState, onSuccess, recoverCart, router])
|
|
66
|
+
}, [assignCartId, called, error, handle, isActive, lockState, onSuccess, recoverCart, router])
|
|
67
67
|
|
|
68
68
|
const paymentStatus = data?.mollieProcessTransaction?.paymentStatus
|
|
69
69
|
if (paymentStatus && !successStatusses.includes(paymentStatus)) {
|
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": "9.0.4-canary.
|
|
5
|
+
"version": "9.0.4-canary.10",
|
|
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": "^9.0.4-canary.
|
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.4-canary.
|
|
17
|
-
"@graphcommerce/graphql": "^9.0.4-canary.
|
|
18
|
-
"@graphcommerce/graphql-mesh": "^9.0.4-canary.
|
|
19
|
-
"@graphcommerce/image": "^9.0.4-canary.
|
|
20
|
-
"@graphcommerce/magento-cart": "^9.0.4-canary.
|
|
21
|
-
"@graphcommerce/magento-cart-payment-method": "^9.0.4-canary.
|
|
22
|
-
"@graphcommerce/magento-cart-shipping-address": "^9.0.4-canary.
|
|
23
|
-
"@graphcommerce/magento-product": "^9.0.4-canary.
|
|
24
|
-
"@graphcommerce/magento-product-configurable": "^9.0.4-canary.
|
|
25
|
-
"@graphcommerce/magento-store": "^9.0.4-canary.
|
|
26
|
-
"@graphcommerce/next-ui": "^9.0.4-canary.
|
|
27
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.4-canary.
|
|
28
|
-
"@graphcommerce/react-hook-form": "^9.0.4-canary.
|
|
29
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.4-canary.
|
|
15
|
+
"@graphcommerce/ecommerce-ui": "^9.0.4-canary.10",
|
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.4-canary.10",
|
|
17
|
+
"@graphcommerce/graphql": "^9.0.4-canary.10",
|
|
18
|
+
"@graphcommerce/graphql-mesh": "^9.0.4-canary.10",
|
|
19
|
+
"@graphcommerce/image": "^9.0.4-canary.10",
|
|
20
|
+
"@graphcommerce/magento-cart": "^9.0.4-canary.10",
|
|
21
|
+
"@graphcommerce/magento-cart-payment-method": "^9.0.4-canary.10",
|
|
22
|
+
"@graphcommerce/magento-cart-shipping-address": "^9.0.4-canary.10",
|
|
23
|
+
"@graphcommerce/magento-product": "^9.0.4-canary.10",
|
|
24
|
+
"@graphcommerce/magento-product-configurable": "^9.0.4-canary.10",
|
|
25
|
+
"@graphcommerce/magento-store": "^9.0.4-canary.10",
|
|
26
|
+
"@graphcommerce/next-ui": "^9.0.4-canary.10",
|
|
27
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.4-canary.10",
|
|
28
|
+
"@graphcommerce/react-hook-form": "^9.0.4-canary.10",
|
|
29
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.4-canary.10",
|
|
30
30
|
"@lingui/core": "^4.2.1",
|
|
31
31
|
"@lingui/macro": "^4.2.1",
|
|
32
32
|
"@lingui/react": "^4.2.1",
|