@graphcommerce/magento-cart-payment-method 9.0.0-canary.98 → 9.0.0
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/Api/PaymentMethod.ts +7 -7
- package/CHANGELOG.md +26 -959
- package/PaymentMethodActionCardList/PaymentMethodActionCardListForm.tsx +8 -10
- package/PaymentMethodButton/PaymentMethodButton.tsx +4 -3
- package/PaymentMethodContext/PaymentMethodContext.tsx +7 -4
- package/PaymentMethodOptions/PaymentMethodOptions.tsx +8 -3
- package/PaymentMethodOptionsNoop/PaymentMethodOptionsNoop.tsx +1 -1
- package/PaymentMethodPlaceOrder/PaymentMethodPlaceOrder.tsx +1 -1
- package/PaymentMethodPlaceOrderNoop/PaymentMethodPlaceOrderNoop.tsx +1 -1
- package/PaymentMethodToggles/PaymentMethodToggles.tsx +14 -14
- package/package.json +14 -14
- package/test/goToPayment.ts +3 -3
- package/test/selectPaymentMethod.ts +1 -1
package/Api/PaymentMethod.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ApolloClient } from '@graphcommerce/graphql'
|
|
2
|
-
import { ActionCardProps, LinkOrButtonProps } from '@graphcommerce/next-ui'
|
|
3
|
-
import { UseFormComposeOptions } from '@graphcommerce/react-hook-form'
|
|
4
|
-
import React from 'react'
|
|
5
|
-
import { AvailablePaymentMethodFragment } from './AvailablePaymentMethod/AvailablePaymentMethod.gql'
|
|
6
|
-
import { PaymentMethodContextFragment } from './PaymentMethodContext.gql'
|
|
7
|
-
import { SelectedPaymentMethodFragment } from './SelectedPaymentMethod/SelectedPaymentMethod.gql'
|
|
1
|
+
import type { ApolloClient } from '@graphcommerce/graphql'
|
|
2
|
+
import type { ActionCardProps, LinkOrButtonProps } from '@graphcommerce/next-ui'
|
|
3
|
+
import type { UseFormComposeOptions } from '@graphcommerce/react-hook-form'
|
|
4
|
+
import type React from 'react'
|
|
5
|
+
import type { AvailablePaymentMethodFragment } from './AvailablePaymentMethod/AvailablePaymentMethod.gql'
|
|
6
|
+
import type { PaymentMethodContextFragment } from './PaymentMethodContext.gql'
|
|
7
|
+
import type { SelectedPaymentMethodFragment } from './SelectedPaymentMethod/SelectedPaymentMethod.gql'
|
|
8
8
|
|
|
9
9
|
export type PaymentMethod = Partial<AvailablePaymentMethodFragment> &
|
|
10
10
|
Pick<AvailablePaymentMethodFragment, 'code' | 'title'> & {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,124 +1,52 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 9.0.0
|
|
3
|
+
## 9.0.0
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
## 9.0.0-canary.96
|
|
8
|
-
|
|
9
|
-
## 9.0.0-canary.95
|
|
10
|
-
|
|
11
|
-
## 9.0.0-canary.94
|
|
12
|
-
|
|
13
|
-
## 9.0.0-canary.93
|
|
14
|
-
|
|
15
|
-
## 9.0.0-canary.92
|
|
16
|
-
|
|
17
|
-
## 9.0.0-canary.91
|
|
18
|
-
|
|
19
|
-
## 9.0.0-canary.90
|
|
20
|
-
|
|
21
|
-
## 9.0.0-canary.89
|
|
22
|
-
|
|
23
|
-
## 9.0.0-canary.88
|
|
24
|
-
|
|
25
|
-
## 9.0.0-canary.87
|
|
26
|
-
|
|
27
|
-
## 9.0.0-canary.86
|
|
28
|
-
|
|
29
|
-
## 9.0.0-canary.85
|
|
30
|
-
|
|
31
|
-
## 9.0.0-canary.84
|
|
32
|
-
|
|
33
|
-
## 9.0.0-canary.83
|
|
34
|
-
|
|
35
|
-
## 9.0.0-canary.82
|
|
36
|
-
|
|
37
|
-
## 9.0.0-canary.81
|
|
38
|
-
|
|
39
|
-
## 9.0.0-canary.80
|
|
40
|
-
|
|
41
|
-
## 9.0.0-canary.79
|
|
42
|
-
|
|
43
|
-
## 9.0.0-canary.78
|
|
44
|
-
|
|
45
|
-
## 9.0.0-canary.77
|
|
46
|
-
|
|
47
|
-
## 9.0.0-canary.76
|
|
48
|
-
|
|
49
|
-
## 9.0.0-canary.75
|
|
50
|
-
|
|
51
|
-
## 9.0.0-canary.74
|
|
52
|
-
|
|
53
|
-
## 9.0.0-canary.73
|
|
54
|
-
|
|
55
|
-
## 9.0.0-canary.72
|
|
56
|
-
|
|
57
|
-
## 9.0.0-canary.71
|
|
58
|
-
|
|
59
|
-
## 9.0.0-canary.70
|
|
60
|
-
|
|
61
|
-
## 9.0.0-canary.69
|
|
62
|
-
|
|
63
|
-
## 9.0.0-canary.68
|
|
64
|
-
|
|
65
|
-
## 9.0.0-canary.67
|
|
66
|
-
|
|
67
|
-
## 9.0.0-canary.66
|
|
68
|
-
|
|
69
|
-
## 9.0.0-canary.65
|
|
70
|
-
|
|
71
|
-
## 9.0.0-canary.64
|
|
72
|
-
|
|
73
|
-
## 9.0.0-canary.63
|
|
74
|
-
|
|
75
|
-
## 9.0.0-canary.62
|
|
76
|
-
|
|
77
|
-
## 9.0.0-canary.61
|
|
5
|
+
### Patch Changes
|
|
78
6
|
|
|
79
|
-
|
|
7
|
+
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`43bd04a`](https://github.com/graphcommerce-org/graphcommerce/commit/43bd04a777c5800cc7e01bee1e123a5aad82f194) - Use the non resolved payment methods as a placeholder for the actual payment methods ([@FrankHarland](https://github.com/FrankHarland))
|
|
80
8
|
|
|
81
|
-
|
|
9
|
+
- [#2277](https://github.com/graphcommerce-org/graphcommerce/pull/2277) [`f9199f7`](https://github.com/graphcommerce-org/graphcommerce/commit/f9199f798583138a68dd641ea6637375c487f29b) - Solve issue where Braintree wouldn't place the order after successfully validating a Credit Card. ([@paales](https://github.com/paales))
|
|
82
10
|
|
|
83
|
-
|
|
11
|
+
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`d345474`](https://github.com/graphcommerce-org/graphcommerce/commit/d345474fb190d158629cd5fd5e68a78724fa2fb6) - Due to a cyclic dependency the actual `<PaymentMethodPlaceOrder />` button would sometimes be undefined. ([@paales](https://github.com/paales))
|
|
84
12
|
|
|
85
|
-
|
|
13
|
+
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`530076e`](https://github.com/graphcommerce-org/graphcommerce/commit/530076e3664703cb8b577b7fcf1998a420819f60) - Moved all usages of `useFormPersist` to the `<FormPersist/>` component to prevent rerenders. ([@FrankHarland](https://github.com/FrankHarland))
|
|
86
14
|
|
|
87
|
-
|
|
15
|
+
- [#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. ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
88
16
|
|
|
89
|
-
|
|
17
|
+
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`43bd04a`](https://github.com/graphcommerce-org/graphcommerce/commit/43bd04a777c5800cc7e01bee1e123a5aad82f194) - Prevent the `<BillingPage />` query from rerunning on each mutation. ([@FrankHarland](https://github.com/FrankHarland))
|
|
90
18
|
|
|
91
|
-
## 9.0.0-canary.
|
|
19
|
+
## 9.0.0-canary.118
|
|
92
20
|
|
|
93
|
-
##
|
|
21
|
+
## 9.0.0-canary.117
|
|
94
22
|
|
|
95
|
-
##
|
|
23
|
+
## 9.0.0-canary.116
|
|
96
24
|
|
|
97
|
-
##
|
|
25
|
+
## 9.0.0-canary.115
|
|
98
26
|
|
|
99
|
-
##
|
|
27
|
+
## 9.0.0-canary.114
|
|
100
28
|
|
|
101
|
-
##
|
|
29
|
+
## 9.0.0-canary.113
|
|
102
30
|
|
|
103
|
-
##
|
|
31
|
+
## 9.0.0-canary.112
|
|
104
32
|
|
|
105
|
-
##
|
|
33
|
+
## 9.0.0-canary.111
|
|
106
34
|
|
|
107
|
-
##
|
|
35
|
+
## 9.0.0-canary.110
|
|
108
36
|
|
|
109
|
-
##
|
|
37
|
+
## 9.0.0-canary.109
|
|
110
38
|
|
|
111
|
-
##
|
|
39
|
+
## 9.0.0-canary.108
|
|
112
40
|
|
|
113
|
-
##
|
|
41
|
+
## 9.0.0-canary.107
|
|
114
42
|
|
|
115
|
-
##
|
|
43
|
+
## 9.0.0-canary.106
|
|
116
44
|
|
|
117
|
-
##
|
|
45
|
+
## 9.0.0-canary.105
|
|
118
46
|
|
|
119
|
-
##
|
|
47
|
+
## 9.0.0-canary.104
|
|
120
48
|
|
|
121
|
-
##
|
|
49
|
+
## 9.0.0-canary.103
|
|
122
50
|
|
|
123
51
|
## 8.1.0-canary.38
|
|
124
52
|
|
|
@@ -126,88 +54,24 @@
|
|
|
126
54
|
|
|
127
55
|
- [#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 ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
128
56
|
|
|
129
|
-
## 8.1.0-canary.37
|
|
130
|
-
|
|
131
|
-
## 8.1.0-canary.36
|
|
132
|
-
|
|
133
|
-
## 8.1.0-canary.35
|
|
134
|
-
|
|
135
|
-
## 8.1.0-canary.34
|
|
136
|
-
|
|
137
|
-
## 8.1.0-canary.33
|
|
138
|
-
|
|
139
|
-
## 8.1.0-canary.32
|
|
140
|
-
|
|
141
|
-
## 8.1.0-canary.31
|
|
142
|
-
|
|
143
|
-
## 8.1.0-canary.30
|
|
144
|
-
|
|
145
|
-
## 8.1.0-canary.29
|
|
146
|
-
|
|
147
|
-
## 8.1.0-canary.28
|
|
148
|
-
|
|
149
|
-
## 8.1.0-canary.27
|
|
150
|
-
|
|
151
|
-
## 8.1.0-canary.26
|
|
152
|
-
|
|
153
|
-
## 8.1.0-canary.25
|
|
154
|
-
|
|
155
|
-
## 8.1.0-canary.24
|
|
156
|
-
|
|
157
|
-
## 8.1.0-canary.23
|
|
158
|
-
|
|
159
|
-
## 8.1.0-canary.22
|
|
160
|
-
|
|
161
|
-
## 8.1.0-canary.21
|
|
162
|
-
|
|
163
|
-
## 8.1.0-canary.20
|
|
164
|
-
|
|
165
|
-
## 8.1.0-canary.19
|
|
166
|
-
|
|
167
57
|
## 8.1.0-canary.18
|
|
168
58
|
|
|
169
59
|
### Patch Changes
|
|
170
60
|
|
|
171
61
|
- [#2277](https://github.com/graphcommerce-org/graphcommerce/pull/2277) [`f9199f7`](https://github.com/graphcommerce-org/graphcommerce/commit/f9199f798583138a68dd641ea6637375c487f29b) - Solve issue where Braintree wouldn't place the order after successfully validating a Credit Card. ([@paales](https://github.com/paales))
|
|
172
62
|
|
|
173
|
-
## 8.1.0-canary.17
|
|
174
|
-
|
|
175
|
-
## 8.1.0-canary.16
|
|
176
|
-
|
|
177
|
-
## 8.1.0-canary.15
|
|
178
|
-
|
|
179
63
|
## 8.1.0-canary.14
|
|
180
64
|
|
|
181
65
|
### Patch Changes
|
|
182
66
|
|
|
183
67
|
- [`831d7cd`](https://github.com/graphcommerce-org/graphcommerce/commit/831d7cd64a40b7b58748fd9637199b88938e75b7) - Compatibility with Magento 2.4.7 ([@paales](https://github.com/paales))
|
|
184
68
|
|
|
185
|
-
## 8.1.0-canary.13
|
|
186
|
-
|
|
187
|
-
## 8.1.0-canary.12
|
|
188
|
-
|
|
189
|
-
## 8.1.0-canary.11
|
|
190
|
-
|
|
191
|
-
## 8.1.0-canary.10
|
|
192
|
-
|
|
193
|
-
## 8.1.0-canary.9
|
|
194
|
-
|
|
195
69
|
## 8.1.0-canary.8
|
|
196
70
|
|
|
197
71
|
### Patch Changes
|
|
198
72
|
|
|
199
73
|
- [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`d345474`](https://github.com/graphcommerce-org/graphcommerce/commit/d345474fb190d158629cd5fd5e68a78724fa2fb6) - Due to a cyclic dependency the actual PaymentMethodPlaceOrder button would sometimes be undefined. ([@paales](https://github.com/paales))
|
|
200
74
|
|
|
201
|
-
## 8.1.0-canary.7
|
|
202
|
-
|
|
203
|
-
## 8.1.0-canary.6
|
|
204
|
-
|
|
205
|
-
## 8.1.0-canary.5
|
|
206
|
-
|
|
207
|
-
## 8.0.6-canary.4
|
|
208
|
-
|
|
209
|
-
## 8.0.6-canary.3
|
|
210
|
-
|
|
211
75
|
## 8.0.6-canary.2
|
|
212
76
|
|
|
213
77
|
### Patch Changes
|
|
@@ -218,310 +82,18 @@
|
|
|
218
82
|
|
|
219
83
|
- [#2234](https://github.com/graphcommerce-org/graphcommerce/pull/2234) [`43bd04a`](https://github.com/graphcommerce-org/graphcommerce/commit/43bd04a777c5800cc7e01bee1e123a5aad82f194) - Prevent BillingPage query from rerunning on each mutation ([@FrankHarland](https://github.com/FrankHarland))
|
|
220
84
|
|
|
221
|
-
## 8.0.6-canary.1
|
|
222
|
-
|
|
223
|
-
## 8.0.6-canary.0
|
|
224
|
-
|
|
225
|
-
## 8.0.5
|
|
226
|
-
|
|
227
|
-
## 8.0.5-canary.10
|
|
228
|
-
|
|
229
|
-
## 8.0.5-canary.9
|
|
230
|
-
|
|
231
|
-
## 8.0.5-canary.8
|
|
232
|
-
|
|
233
|
-
## 8.0.5-canary.7
|
|
234
|
-
|
|
235
|
-
## 8.0.5-canary.6
|
|
236
|
-
|
|
237
|
-
## 8.0.5-canary.5
|
|
238
|
-
|
|
239
|
-
## 8.0.5-canary.4
|
|
240
|
-
|
|
241
|
-
## 8.0.5-canary.3
|
|
242
|
-
|
|
243
|
-
## 8.0.5-canary.2
|
|
244
|
-
|
|
245
|
-
## 8.0.5-canary.1
|
|
246
|
-
|
|
247
|
-
## 8.0.5-canary.0
|
|
248
|
-
|
|
249
|
-
## 8.0.4
|
|
250
|
-
|
|
251
|
-
## 8.0.4-canary.1
|
|
252
|
-
|
|
253
|
-
## 8.0.4-canary.0
|
|
254
|
-
|
|
255
|
-
## 8.0.3
|
|
256
|
-
|
|
257
|
-
## 8.0.3-canary.6
|
|
258
|
-
|
|
259
|
-
## 8.0.3-canary.5
|
|
260
|
-
|
|
261
|
-
## 8.0.3-canary.4
|
|
262
|
-
|
|
263
|
-
## 8.0.3-canary.3
|
|
264
|
-
|
|
265
|
-
## 8.0.3-canary.2
|
|
266
|
-
|
|
267
|
-
## 8.0.3-canary.1
|
|
268
|
-
|
|
269
|
-
## 8.0.3-canary.0
|
|
270
|
-
|
|
271
|
-
## 8.0.2
|
|
272
|
-
|
|
273
|
-
## 8.0.2-canary.3
|
|
274
|
-
|
|
275
|
-
## 8.0.2-canary.2
|
|
276
|
-
|
|
277
|
-
## 8.0.2-canary.1
|
|
278
|
-
|
|
279
|
-
## 8.0.2-canary.0
|
|
280
|
-
|
|
281
|
-
## 8.0.1
|
|
282
|
-
|
|
283
|
-
## 8.0.1-canary.4
|
|
284
|
-
|
|
285
|
-
## 8.0.1-canary.3
|
|
286
|
-
|
|
287
|
-
## 8.0.1-canary.2
|
|
288
|
-
|
|
289
|
-
## 8.0.1-canary.1
|
|
290
|
-
|
|
291
|
-
## 8.0.1-canary.0
|
|
292
|
-
|
|
293
85
|
## 8.0.0
|
|
294
86
|
|
|
295
87
|
### Patch Changes
|
|
296
88
|
|
|
297
89
|
- [#2115](https://github.com/graphcommerce-org/graphcommerce/pull/2115) [`105a1af`](https://github.com/graphcommerce-org/graphcommerce/commit/105a1af8b820de8873e430ae398f1922d39a9110) - Disabled ripple animations on all ActionCard ‘Select’ and ‘Change’ so the rendering is more subtle during checkout. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
298
90
|
|
|
299
|
-
## 8.0.0-canary.100
|
|
300
|
-
|
|
301
|
-
## 8.0.0-canary.99
|
|
302
|
-
|
|
303
|
-
## 8.0.0-canary.98
|
|
304
|
-
|
|
305
|
-
## 8.0.0-canary.97
|
|
306
|
-
|
|
307
|
-
## 8.0.0-canary.96
|
|
308
|
-
|
|
309
|
-
## 8.0.0-canary.95
|
|
310
|
-
|
|
311
|
-
## 8.0.0-canary.94
|
|
312
|
-
|
|
313
|
-
## 8.0.0-canary.93
|
|
314
|
-
|
|
315
|
-
## 8.0.0-canary.92
|
|
316
|
-
|
|
317
|
-
## 8.0.0-canary.91
|
|
318
|
-
|
|
319
|
-
## 8.0.0-canary.90
|
|
320
|
-
|
|
321
|
-
## 8.0.0-canary.89
|
|
322
|
-
|
|
323
|
-
## 8.0.0-canary.88
|
|
324
|
-
|
|
325
|
-
## 8.0.0-canary.87
|
|
326
|
-
|
|
327
|
-
## 8.0.0-canary.86
|
|
328
|
-
|
|
329
|
-
## 8.0.0-canary.85
|
|
330
|
-
|
|
331
|
-
## 8.0.0-canary.84
|
|
332
|
-
|
|
333
|
-
## 8.0.0-canary.83
|
|
334
|
-
|
|
335
|
-
## 8.0.0-canary.82
|
|
336
|
-
|
|
337
|
-
## 8.0.0-canary.81
|
|
338
|
-
|
|
339
|
-
## 8.0.0-canary.80
|
|
340
|
-
|
|
341
|
-
## 8.0.0-canary.79
|
|
342
|
-
|
|
343
|
-
## 8.0.0-canary.78
|
|
344
|
-
|
|
345
|
-
## 8.0.0-canary.77
|
|
346
|
-
|
|
347
|
-
## 8.0.0-canary.76
|
|
348
|
-
|
|
349
|
-
## 8.0.0-canary.75
|
|
350
|
-
|
|
351
|
-
## 8.0.0-canary.74
|
|
352
|
-
|
|
353
|
-
## 8.0.0-canary.73
|
|
354
|
-
|
|
355
|
-
## 8.0.0-canary.72
|
|
356
|
-
|
|
357
|
-
## 8.0.0-canary.71
|
|
358
|
-
|
|
359
|
-
## 8.0.0-canary.70
|
|
360
|
-
|
|
361
|
-
## 8.0.0-canary.69
|
|
362
|
-
|
|
363
|
-
## 7.1.0-canary.68
|
|
364
|
-
|
|
365
|
-
## 7.1.0-canary.67
|
|
366
|
-
|
|
367
|
-
## 7.1.0-canary.66
|
|
368
|
-
|
|
369
|
-
## 7.1.0-canary.65
|
|
370
|
-
|
|
371
|
-
## 7.1.0-canary.64
|
|
372
|
-
|
|
373
|
-
## 7.1.0-canary.63
|
|
374
|
-
|
|
375
|
-
## 7.1.0-canary.62
|
|
376
|
-
|
|
377
|
-
## 7.1.0-canary.61
|
|
378
|
-
|
|
379
|
-
## 7.1.0-canary.60
|
|
380
|
-
|
|
381
|
-
## 7.1.0-canary.59
|
|
382
|
-
|
|
383
|
-
## 7.1.0-canary.58
|
|
384
|
-
|
|
385
|
-
## 7.1.0-canary.57
|
|
386
|
-
|
|
387
|
-
## 7.1.0-canary.56
|
|
388
|
-
|
|
389
|
-
## 7.1.0-canary.55
|
|
390
|
-
|
|
391
|
-
## 7.1.0-canary.54
|
|
392
|
-
|
|
393
|
-
## 7.1.0-canary.53
|
|
394
|
-
|
|
395
|
-
## 7.1.0-canary.52
|
|
396
|
-
|
|
397
|
-
## 7.1.0-canary.51
|
|
398
|
-
|
|
399
|
-
## 7.1.0-canary.50
|
|
400
|
-
|
|
401
|
-
## 7.1.0-canary.49
|
|
402
|
-
|
|
403
|
-
### Patch Changes
|
|
404
|
-
|
|
405
|
-
- [#2115](https://github.com/graphcommerce-org/graphcommerce/pull/2115) [`105a1af8b`](https://github.com/graphcommerce-org/graphcommerce/commit/105a1af8b820de8873e430ae398f1922d39a9110) - Disabled Ripple on all ActionCard ‘Select’ and ‘Change’ so the rendering is more subtle during checkout. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
406
|
-
|
|
407
|
-
## 7.1.0-canary.48
|
|
408
|
-
|
|
409
|
-
## 7.1.0-canary.47
|
|
410
|
-
|
|
411
|
-
## 7.1.0-canary.46
|
|
412
|
-
|
|
413
|
-
## 7.1.0-canary.45
|
|
414
|
-
|
|
415
|
-
## 7.1.0-canary.38
|
|
416
|
-
|
|
417
|
-
## 7.1.0-canary.37
|
|
418
|
-
|
|
419
|
-
## 7.1.0-canary.36
|
|
420
|
-
|
|
421
|
-
## 7.1.0-canary.35
|
|
422
|
-
|
|
423
|
-
## 7.1.0-canary.34
|
|
424
|
-
|
|
425
|
-
## 7.1.0-canary.33
|
|
426
|
-
|
|
427
|
-
## 7.1.0-canary.32
|
|
428
|
-
|
|
429
|
-
## 7.1.0-canary.31
|
|
430
|
-
|
|
431
|
-
## 7.1.0-canary.30
|
|
432
|
-
|
|
433
|
-
## 7.1.0-canary.29
|
|
434
|
-
|
|
435
|
-
## 7.1.0-canary.28
|
|
436
|
-
|
|
437
|
-
## 7.1.0-canary.27
|
|
438
|
-
|
|
439
|
-
## 7.1.0-canary.26
|
|
440
|
-
|
|
441
|
-
## 7.1.0-canary.25
|
|
442
|
-
|
|
443
|
-
## 7.1.0-canary.24
|
|
444
|
-
|
|
445
|
-
## 7.1.0-canary.23
|
|
446
|
-
|
|
447
|
-
## 7.1.0-canary.22
|
|
448
|
-
|
|
449
|
-
## 7.1.0-canary.21
|
|
450
|
-
|
|
451
|
-
## 7.1.0-canary.20
|
|
452
|
-
|
|
453
|
-
## 7.1.0-canary.19
|
|
454
|
-
|
|
455
|
-
## 7.1.0-canary.18
|
|
456
|
-
|
|
457
|
-
## 7.1.0-canary.17
|
|
458
|
-
|
|
459
|
-
## 7.1.0-canary.16
|
|
460
|
-
|
|
461
|
-
## 7.1.0-canary.15
|
|
462
|
-
|
|
463
|
-
## 7.1.0-canary.14
|
|
464
|
-
|
|
465
|
-
## 7.1.0-canary.13
|
|
466
|
-
|
|
467
|
-
## 7.1.0-canary.12
|
|
468
|
-
|
|
469
|
-
## 7.1.0-canary.11
|
|
470
|
-
|
|
471
|
-
## 7.1.0-canary.10
|
|
472
|
-
|
|
473
|
-
## 7.1.0-canary.9
|
|
474
|
-
|
|
475
|
-
## 7.1.0-canary.8
|
|
476
|
-
|
|
477
|
-
## 7.0.2-canary.7
|
|
478
|
-
|
|
479
|
-
## 7.0.2-canary.6
|
|
480
|
-
|
|
481
|
-
## 7.0.2-canary.5
|
|
482
|
-
|
|
483
91
|
## 7.0.1
|
|
484
92
|
|
|
485
93
|
### Patch Changes
|
|
486
94
|
|
|
487
95
|
- [#2046](https://github.com/graphcommerce-org/graphcommerce/pull/2046) [`6c7197755`](https://github.com/graphcommerce-org/graphcommerce/commit/6c7197755ba54d35109fea0c44965a3aae3fd895) - Remove the selected payment method title from the Place order button so that the text always fits ([@carlocarels90](https://github.com/carlocarels90))
|
|
488
96
|
|
|
489
|
-
## 7.0.1-canary.15
|
|
490
|
-
|
|
491
|
-
## 7.0.1-canary.14
|
|
492
|
-
|
|
493
|
-
## 7.0.1-canary.13
|
|
494
|
-
|
|
495
|
-
## 7.0.1-canary.12
|
|
496
|
-
|
|
497
|
-
## 7.0.1-canary.11
|
|
498
|
-
|
|
499
|
-
## 7.0.1-canary.10
|
|
500
|
-
|
|
501
|
-
## 7.0.1-canary.9
|
|
502
|
-
|
|
503
|
-
### Patch Changes
|
|
504
|
-
|
|
505
|
-
- [#2046](https://github.com/graphcommerce-org/graphcommerce/pull/2046) [`6c7197755`](https://github.com/graphcommerce-org/graphcommerce/commit/6c7197755ba54d35109fea0c44965a3aae3fd895) - Remove the selected payment method title from the Place order button so that the text always fits ([@carlocarels90](https://github.com/carlocarels90))
|
|
506
|
-
|
|
507
|
-
## 7.0.1-canary.8
|
|
508
|
-
|
|
509
|
-
## 7.0.1-canary.7
|
|
510
|
-
|
|
511
|
-
## 7.0.1-canary.6
|
|
512
|
-
|
|
513
|
-
## 7.0.1-canary.5
|
|
514
|
-
|
|
515
|
-
## 7.0.1-canary.4
|
|
516
|
-
|
|
517
|
-
## 7.0.1-canary.3
|
|
518
|
-
|
|
519
|
-
## 7.0.1-canary.2
|
|
520
|
-
|
|
521
|
-
## 7.0.1-canary.1
|
|
522
|
-
|
|
523
|
-
## 7.0.1-canary.0
|
|
524
|
-
|
|
525
97
|
## 7.0.0
|
|
526
98
|
|
|
527
99
|
### Patch Changes
|
|
@@ -532,282 +104,6 @@
|
|
|
532
104
|
|
|
533
105
|
- [#2027](https://github.com/graphcommerce-org/graphcommerce/pull/2027) [`e384fe2e4`](https://github.com/graphcommerce-org/graphcommerce/commit/e384fe2e47d849fe6f7bfa7c6dd48b9b6b5b1bd1) - Solved an issue where the empty cart would be shown between the payment and success page. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
534
106
|
|
|
535
|
-
## 6.2.0-canary.98
|
|
536
|
-
|
|
537
|
-
## 6.2.0-canary.97
|
|
538
|
-
|
|
539
|
-
## 6.2.0-canary.96
|
|
540
|
-
|
|
541
|
-
## 6.2.0-canary.95
|
|
542
|
-
|
|
543
|
-
## 6.2.0-canary.94
|
|
544
|
-
|
|
545
|
-
## 6.2.0-canary.93
|
|
546
|
-
|
|
547
|
-
## 6.2.0-canary.92
|
|
548
|
-
|
|
549
|
-
## 6.2.0-canary.91
|
|
550
|
-
|
|
551
|
-
## 6.2.0-canary.90
|
|
552
|
-
|
|
553
|
-
## 6.2.0-canary.89
|
|
554
|
-
|
|
555
|
-
### Patch Changes
|
|
556
|
-
|
|
557
|
-
- [#2031](https://github.com/graphcommerce-org/graphcommerce/pull/2031) [`4d8fc9e99`](https://github.com/graphcommerce-org/graphcommerce/commit/4d8fc9e998fc9361282833316ec9564da0644ed6) - Eslint fixes and suppress accepted warnings ([@paales](https://github.com/paales))
|
|
558
|
-
|
|
559
|
-
## 6.2.0-canary.88
|
|
560
|
-
|
|
561
|
-
## 6.2.0-canary.87
|
|
562
|
-
|
|
563
|
-
## 6.2.0-canary.86
|
|
564
|
-
|
|
565
|
-
## 6.2.0-canary.85
|
|
566
|
-
|
|
567
|
-
### Patch Changes
|
|
568
|
-
|
|
569
|
-
- [#2027](https://github.com/graphcommerce-org/graphcommerce/pull/2027) [`e384fe2e4`](https://github.com/graphcommerce-org/graphcommerce/commit/e384fe2e47d849fe6f7bfa7c6dd48b9b6b5b1bd1) - Solved an issue where the empty cart would be shown between the payment and success page. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
570
|
-
|
|
571
|
-
## 6.2.0-canary.84
|
|
572
|
-
|
|
573
|
-
## 6.2.0-canary.83
|
|
574
|
-
|
|
575
|
-
## 6.2.0-canary.82
|
|
576
|
-
|
|
577
|
-
## 6.2.0-canary.81
|
|
578
|
-
|
|
579
|
-
## 6.2.0-canary.80
|
|
580
|
-
|
|
581
|
-
## 6.2.0-canary.79
|
|
582
|
-
|
|
583
|
-
## 6.2.0-canary.78
|
|
584
|
-
|
|
585
|
-
## 6.2.0-canary.77
|
|
586
|
-
|
|
587
|
-
## 6.2.0-canary.76
|
|
588
|
-
|
|
589
|
-
## 6.2.0-canary.75
|
|
590
|
-
|
|
591
|
-
## 6.2.0-canary.74
|
|
592
|
-
|
|
593
|
-
## 6.2.0-canary.73
|
|
594
|
-
|
|
595
|
-
## 6.2.0-canary.72
|
|
596
|
-
|
|
597
|
-
## 6.2.0-canary.71
|
|
598
|
-
|
|
599
|
-
## 6.2.0-canary.70
|
|
600
|
-
|
|
601
|
-
## 6.2.0-canary.69
|
|
602
|
-
|
|
603
|
-
## 6.2.0-canary.68
|
|
604
|
-
|
|
605
|
-
## 6.2.0-canary.67
|
|
606
|
-
|
|
607
|
-
## 6.2.0-canary.66
|
|
608
|
-
|
|
609
|
-
## 6.2.0-canary.65
|
|
610
|
-
|
|
611
|
-
## 6.2.0-canary.64
|
|
612
|
-
|
|
613
|
-
## 6.2.0-canary.63
|
|
614
|
-
|
|
615
|
-
## 6.2.0-canary.62
|
|
616
|
-
|
|
617
|
-
## 6.2.0-canary.61
|
|
618
|
-
|
|
619
|
-
## 6.2.0-canary.60
|
|
620
|
-
|
|
621
|
-
## 6.2.0-canary.59
|
|
622
|
-
|
|
623
|
-
## 6.2.0-canary.58
|
|
624
|
-
|
|
625
|
-
## 6.2.0-canary.57
|
|
626
|
-
|
|
627
|
-
## 6.2.0-canary.56
|
|
628
|
-
|
|
629
|
-
## 6.2.0-canary.55
|
|
630
|
-
|
|
631
|
-
## 6.2.0-canary.54
|
|
632
|
-
|
|
633
|
-
## 6.2.0-canary.53
|
|
634
|
-
|
|
635
|
-
## 6.2.0-canary.52
|
|
636
|
-
|
|
637
|
-
## 6.2.0-canary.51
|
|
638
|
-
|
|
639
|
-
## 6.2.0-canary.50
|
|
640
|
-
|
|
641
|
-
## 6.2.0-canary.49
|
|
642
|
-
|
|
643
|
-
## 6.2.0-canary.48
|
|
644
|
-
|
|
645
|
-
## 6.2.0-canary.47
|
|
646
|
-
|
|
647
|
-
## 6.2.0-canary.46
|
|
648
|
-
|
|
649
|
-
## 6.2.0-canary.45
|
|
650
|
-
|
|
651
|
-
## 6.2.0-canary.44
|
|
652
|
-
|
|
653
|
-
## 6.2.0-canary.43
|
|
654
|
-
|
|
655
|
-
## 6.2.0-canary.42
|
|
656
|
-
|
|
657
|
-
## 6.2.0-canary.41
|
|
658
|
-
|
|
659
|
-
## 6.2.0-canary.40
|
|
660
|
-
|
|
661
|
-
## 6.2.0-canary.39
|
|
662
|
-
|
|
663
|
-
## 6.2.0-canary.38
|
|
664
|
-
|
|
665
|
-
## 6.2.0-canary.37
|
|
666
|
-
|
|
667
|
-
## 6.2.0-canary.36
|
|
668
|
-
|
|
669
|
-
## 6.2.0-canary.35
|
|
670
|
-
|
|
671
|
-
## 6.2.0-canary.34
|
|
672
|
-
|
|
673
|
-
## 6.2.0-canary.33
|
|
674
|
-
|
|
675
|
-
## 6.2.0-canary.32
|
|
676
|
-
|
|
677
|
-
## 6.2.0-canary.31
|
|
678
|
-
|
|
679
|
-
## 6.2.0-canary.30
|
|
680
|
-
|
|
681
|
-
## 6.2.0-canary.29
|
|
682
|
-
|
|
683
|
-
## 6.2.0-canary.28
|
|
684
|
-
|
|
685
|
-
## 6.2.0-canary.27
|
|
686
|
-
|
|
687
|
-
## 6.2.0-canary.26
|
|
688
|
-
|
|
689
|
-
## 6.2.0-canary.25
|
|
690
|
-
|
|
691
|
-
## 6.2.0-canary.24
|
|
692
|
-
|
|
693
|
-
### Patch Changes
|
|
694
|
-
|
|
695
|
-
- [#1943](https://github.com/graphcommerce-org/graphcommerce/pull/1943) [`138215b45`](https://github.com/graphcommerce-org/graphcommerce/commit/138215b453703f44243c85b3bfab58814d86131c) - When a PayPal buyer would return to the website it would sometimes clear the buyers token ([@paales](https://github.com/paales))
|
|
696
|
-
|
|
697
|
-
## 6.2.0-canary.23
|
|
698
|
-
|
|
699
|
-
## 6.2.0-canary.22
|
|
700
|
-
|
|
701
|
-
## 6.2.0-canary.21
|
|
702
|
-
|
|
703
|
-
## 6.2.0-canary.20
|
|
704
|
-
|
|
705
|
-
## 6.2.0-canary.19
|
|
706
|
-
|
|
707
|
-
## 6.2.0-canary.18
|
|
708
|
-
|
|
709
|
-
## 6.2.0-canary.17
|
|
710
|
-
|
|
711
|
-
## 6.2.0-canary.16
|
|
712
|
-
|
|
713
|
-
## 6.2.0-canary.15
|
|
714
|
-
|
|
715
|
-
## 6.2.0-canary.14
|
|
716
|
-
|
|
717
|
-
## 6.2.0-canary.13
|
|
718
|
-
|
|
719
|
-
## 6.2.0-canary.12
|
|
720
|
-
|
|
721
|
-
## 6.2.0-canary.11
|
|
722
|
-
|
|
723
|
-
## 6.2.0-canary.10
|
|
724
|
-
|
|
725
|
-
## 6.2.0-canary.9
|
|
726
|
-
|
|
727
|
-
## 6.2.0-canary.8
|
|
728
|
-
|
|
729
|
-
## 6.2.0-canary.7
|
|
730
|
-
|
|
731
|
-
## 6.2.0-canary.6
|
|
732
|
-
|
|
733
|
-
## 6.1.1-canary.5
|
|
734
|
-
|
|
735
|
-
## 6.1.1-canary.4
|
|
736
|
-
|
|
737
|
-
## 6.1.1-canary.3
|
|
738
|
-
|
|
739
|
-
## 6.1.1-canary.2
|
|
740
|
-
|
|
741
|
-
## 6.1.1-canary.1
|
|
742
|
-
|
|
743
|
-
## 6.1.1-canary.0
|
|
744
|
-
|
|
745
|
-
## 6.1.0
|
|
746
|
-
|
|
747
|
-
## 6.0.2-canary.22
|
|
748
|
-
|
|
749
|
-
## 6.0.2-canary.21
|
|
750
|
-
|
|
751
|
-
## 6.0.2-canary.20
|
|
752
|
-
|
|
753
|
-
## 6.0.2-canary.19
|
|
754
|
-
|
|
755
|
-
## 6.0.2-canary.18
|
|
756
|
-
|
|
757
|
-
## 6.0.2-canary.17
|
|
758
|
-
|
|
759
|
-
## 6.0.2-canary.16
|
|
760
|
-
|
|
761
|
-
## 6.0.2-canary.15
|
|
762
|
-
|
|
763
|
-
## 6.0.2-canary.14
|
|
764
|
-
|
|
765
|
-
## 6.0.2-canary.13
|
|
766
|
-
|
|
767
|
-
## 6.0.2-canary.12
|
|
768
|
-
|
|
769
|
-
## 6.0.2-canary.11
|
|
770
|
-
|
|
771
|
-
## 6.0.2-canary.10
|
|
772
|
-
|
|
773
|
-
## 6.0.2-canary.9
|
|
774
|
-
|
|
775
|
-
## 6.0.2-canary.8
|
|
776
|
-
|
|
777
|
-
## 6.0.2-canary.7
|
|
778
|
-
|
|
779
|
-
## 6.0.2-canary.6
|
|
780
|
-
|
|
781
|
-
## 6.0.2-canary.5
|
|
782
|
-
|
|
783
|
-
## 6.0.2-canary.4
|
|
784
|
-
|
|
785
|
-
## 6.0.2-canary.3
|
|
786
|
-
|
|
787
|
-
## 6.0.2-canary.2
|
|
788
|
-
|
|
789
|
-
## 6.0.2-canary.1
|
|
790
|
-
|
|
791
|
-
## 6.0.2-canary.0
|
|
792
|
-
|
|
793
|
-
## 6.0.1
|
|
794
|
-
|
|
795
|
-
## 6.0.1-canary.7
|
|
796
|
-
|
|
797
|
-
## 6.0.1-canary.6
|
|
798
|
-
|
|
799
|
-
## 6.0.1-canary.5
|
|
800
|
-
|
|
801
|
-
## 6.0.1-canary.4
|
|
802
|
-
|
|
803
|
-
## 6.0.1-canary.3
|
|
804
|
-
|
|
805
|
-
## 6.0.1-canary.2
|
|
806
|
-
|
|
807
|
-
## 6.0.1-canary.1
|
|
808
|
-
|
|
809
|
-
## 6.0.1-canary.0
|
|
810
|
-
|
|
811
107
|
## 6.0.0
|
|
812
108
|
|
|
813
109
|
### Minor Changes
|
|
@@ -818,130 +114,6 @@
|
|
|
818
114
|
|
|
819
115
|
- [#1851](https://github.com/graphcommerce-org/graphcommerce/pull/1851) [`5adadf4ba`](https://github.com/graphcommerce-org/graphcommerce/commit/5adadf4ba023e861409a3925b5cda1e20dbb256c) - Make sure the PayerID isn’t required for non-paypal method ([@paales](https://github.com/paales))
|
|
820
116
|
|
|
821
|
-
## 6.0.0-canary.54
|
|
822
|
-
|
|
823
|
-
## 6.0.0-canary.53
|
|
824
|
-
|
|
825
|
-
## 6.0.0-canary.52
|
|
826
|
-
|
|
827
|
-
## 6.0.0-canary.51
|
|
828
|
-
|
|
829
|
-
## 6.0.0-canary.50
|
|
830
|
-
|
|
831
|
-
### Patch Changes
|
|
832
|
-
|
|
833
|
-
- [#1851](https://github.com/graphcommerce-org/graphcommerce/pull/1851) [`5adadf4ba`](https://github.com/graphcommerce-org/graphcommerce/commit/5adadf4ba023e861409a3925b5cda1e20dbb256c) - Make sure the PayerID isn’t required for non-paypal method ([@paales](https://github.com/paales))
|
|
834
|
-
|
|
835
|
-
## 6.0.0-canary.49
|
|
836
|
-
|
|
837
|
-
## 6.0.0-canary.48
|
|
838
|
-
|
|
839
|
-
## 6.0.0-canary.47
|
|
840
|
-
|
|
841
|
-
## 6.0.0-canary.46
|
|
842
|
-
|
|
843
|
-
## 6.0.0-canary.45
|
|
844
|
-
|
|
845
|
-
## 6.0.0-canary.44
|
|
846
|
-
|
|
847
|
-
## 6.0.0-canary.43
|
|
848
|
-
|
|
849
|
-
### Minor Changes
|
|
850
|
-
|
|
851
|
-
- [#1841](https://github.com/graphcommerce-org/graphcommerce/pull/1841) [`45befd304`](https://github.com/graphcommerce-org/graphcommerce/commit/45befd3040eb45f7f7204312cd532432ae84dc4d) - Always fetch the CartTotals when changing the payment method and automatically submit the currently selected payment method. ([@paales](https://github.com/paales))
|
|
852
|
-
|
|
853
|
-
## 6.0.0-canary.42
|
|
854
|
-
|
|
855
|
-
## 6.0.0-canary.41
|
|
856
|
-
|
|
857
|
-
## 6.0.0-canary.40
|
|
858
|
-
|
|
859
|
-
## 6.0.0-canary.39
|
|
860
|
-
|
|
861
|
-
## 6.0.0-canary.38
|
|
862
|
-
|
|
863
|
-
## 6.0.0-canary.37
|
|
864
|
-
|
|
865
|
-
## 6.0.0-canary.36
|
|
866
|
-
|
|
867
|
-
## 6.0.0-canary.35
|
|
868
|
-
|
|
869
|
-
## 6.0.0-canary.34
|
|
870
|
-
|
|
871
|
-
## 6.0.0-canary.33
|
|
872
|
-
|
|
873
|
-
## 6.0.0-canary.32
|
|
874
|
-
|
|
875
|
-
## 6.0.0-canary.31
|
|
876
|
-
|
|
877
|
-
## 6.0.0-canary.30
|
|
878
|
-
|
|
879
|
-
## 6.0.0-canary.29
|
|
880
|
-
|
|
881
|
-
## 6.0.0-canary.28
|
|
882
|
-
|
|
883
|
-
## 6.0.0-canary.27
|
|
884
|
-
|
|
885
|
-
## 6.0.0-canary.26
|
|
886
|
-
|
|
887
|
-
## 6.0.0-canary.25
|
|
888
|
-
|
|
889
|
-
## 6.0.0-canary.24
|
|
890
|
-
|
|
891
|
-
## 6.0.0-canary.23
|
|
892
|
-
|
|
893
|
-
## 6.0.0-canary.22
|
|
894
|
-
|
|
895
|
-
## 6.0.0-canary.21
|
|
896
|
-
|
|
897
|
-
## 6.0.0-canary.20
|
|
898
|
-
|
|
899
|
-
## 5.2.0-canary.19
|
|
900
|
-
|
|
901
|
-
## 5.2.0-canary.18
|
|
902
|
-
|
|
903
|
-
## 5.2.0-canary.17
|
|
904
|
-
|
|
905
|
-
## 5.2.0-canary.16
|
|
906
|
-
|
|
907
|
-
## 5.2.0-canary.15
|
|
908
|
-
|
|
909
|
-
## 5.2.0-canary.14
|
|
910
|
-
|
|
911
|
-
## 5.2.0-canary.13
|
|
912
|
-
|
|
913
|
-
## 5.2.0-canary.12
|
|
914
|
-
|
|
915
|
-
## 5.2.0-canary.11
|
|
916
|
-
|
|
917
|
-
## 5.2.0-canary.10
|
|
918
|
-
|
|
919
|
-
## 5.2.0-canary.9
|
|
920
|
-
|
|
921
|
-
## 5.2.0-canary.8
|
|
922
|
-
|
|
923
|
-
## 5.2.0-canary.7
|
|
924
|
-
|
|
925
|
-
## 5.2.0-canary.6
|
|
926
|
-
|
|
927
|
-
## 5.2.0-canary.5
|
|
928
|
-
|
|
929
|
-
## 5.2.0-canary.4
|
|
930
|
-
|
|
931
|
-
## 5.2.0-canary.3
|
|
932
|
-
|
|
933
|
-
## 5.2.0-canary.2
|
|
934
|
-
|
|
935
|
-
## 5.2.0-canary.1
|
|
936
|
-
|
|
937
|
-
## 5.2.0-canary.0
|
|
938
|
-
|
|
939
|
-
## 5.1.1
|
|
940
|
-
|
|
941
|
-
## 5.1.1-canary.1
|
|
942
|
-
|
|
943
|
-
## 5.1.1-canary.0
|
|
944
|
-
|
|
945
117
|
## 5.1.0
|
|
946
118
|
|
|
947
119
|
### Patch Changes
|
|
@@ -953,39 +125,6 @@
|
|
|
953
125
|
- Upgraded dependencies including type-fest and graphql-mesh
|
|
954
126
|
- Solved peer dependency issues ([@paales](https://github.com/paales))
|
|
955
127
|
|
|
956
|
-
## 5.1.0-canary.11
|
|
957
|
-
|
|
958
|
-
## 5.1.0-canary.10
|
|
959
|
-
|
|
960
|
-
## 5.1.0-canary.9
|
|
961
|
-
|
|
962
|
-
## 5.1.0-canary.8
|
|
963
|
-
|
|
964
|
-
## 5.1.0-canary.7
|
|
965
|
-
|
|
966
|
-
## 5.1.0-canary.6
|
|
967
|
-
|
|
968
|
-
## 5.1.0-canary.5
|
|
969
|
-
|
|
970
|
-
## 5.1.0-canary.4
|
|
971
|
-
|
|
972
|
-
## 5.1.0-canary.3
|
|
973
|
-
|
|
974
|
-
### Patch Changes
|
|
975
|
-
|
|
976
|
-
- [#1752](https://github.com/graphcommerce-org/graphcommerce/pull/1752) [`2a6a4d9ec`](https://github.com/graphcommerce-org/graphcommerce/commit/2a6a4d9ecfa1b58a66ba9b9d00016d6feda9aa95) - Updated dependencies to latest versions, except for nextjs; Solve tons of peer dependency issues.
|
|
977
|
-
|
|
978
|
-
- Updated the @mui/material package
|
|
979
|
-
- Removed dependencies on react-hook-form-mui and @playwright/test
|
|
980
|
-
- Upgraded dependencies including type-fest and graphql-mesh
|
|
981
|
-
- Solved peer dependency issues ([@paales](https://github.com/paales))
|
|
982
|
-
|
|
983
|
-
## 5.1.0-canary.2
|
|
984
|
-
|
|
985
|
-
## 5.1.0-canary.1
|
|
986
|
-
|
|
987
|
-
## 5.1.0-canary.0
|
|
988
|
-
|
|
989
128
|
## 5.0.0
|
|
990
129
|
|
|
991
130
|
### Major Changes
|
|
@@ -1006,82 +145,12 @@
|
|
|
1006
145
|
|
|
1007
146
|
- [#1733](https://github.com/graphcommerce-org/graphcommerce/pull/1733) [`be10e8cd1`](https://github.com/graphcommerce-org/graphcommerce/commit/be10e8cd1dce172a914ee9e5f65fdca4d0929fc8) - Migrated payment methods to use the new `onSuccess` method from `PaymentMethodContextProvider` instead of redirecting manually, makes sure the onSuccess method can be used by plugins. ([@paales](https://github.com/paales))
|
|
1008
147
|
|
|
1009
|
-
## 5.0.0-canary.14
|
|
1010
|
-
|
|
1011
|
-
## 5.0.0-canary.13
|
|
1012
|
-
|
|
1013
|
-
### Major Changes
|
|
1014
|
-
|
|
1015
|
-
- [`e4c7fe17e`](https://github.com/graphcommerce-org/graphcommerce/commit/e4c7fe17e413e37362ceae92e67f1b3a5f62d398) - Bump major version of all packages ([@paales](https://github.com/paales))
|
|
1016
|
-
|
|
1017
|
-
## 4.14.0-canary.12
|
|
1018
|
-
|
|
1019
|
-
## 4.14.0-canary.11
|
|
1020
|
-
|
|
1021
|
-
## 4.14.0-canary.10
|
|
1022
|
-
|
|
1023
|
-
## 4.14.0-canary.9
|
|
1024
|
-
|
|
1025
|
-
## 4.14.0-canary.8
|
|
1026
|
-
|
|
1027
|
-
## 4.14.0-canary.7
|
|
1028
|
-
|
|
1029
|
-
## 4.14.0-canary.6
|
|
1030
|
-
|
|
1031
|
-
## 4.14.0-canary.5
|
|
1032
|
-
|
|
1033
|
-
## 4.14.0-canary.4
|
|
1034
|
-
|
|
1035
|
-
### Minor Changes
|
|
1036
|
-
|
|
1037
|
-
- [#1733](https://github.com/graphcommerce-org/graphcommerce/pull/1733) [`0173d9307`](https://github.com/graphcommerce-org/graphcommerce/commit/0173d93075e1e3bdfb4667cf1ef3e53113b38994) - Add props to <PaymentMethodContextProvider/>: onSuccess and successUrl. ([@paales](https://github.com/paales))
|
|
1038
|
-
|
|
1039
|
-
### Patch Changes
|
|
1040
|
-
|
|
1041
|
-
- [#1733](https://github.com/graphcommerce-org/graphcommerce/pull/1733) [`a0eefa762`](https://github.com/graphcommerce-org/graphcommerce/commit/a0eefa762f93f817f506b87753dfe0b92e3318f8) - Added better disabled state for an ActionCard ([@paales](https://github.com/paales))
|
|
1042
|
-
|
|
1043
|
-
- [#1733](https://github.com/graphcommerce-org/graphcommerce/pull/1733) [`be10e8cd1`](https://github.com/graphcommerce-org/graphcommerce/commit/be10e8cd1dce172a914ee9e5f65fdca4d0929fc8) - Migrated payment methods to use the new `onSuccess` method from `PaymentMethodContextProvider` instead of redirecting manually, makes sure the onSuccess method can be used by plugins. ([@paales](https://github.com/paales))
|
|
1044
|
-
|
|
1045
|
-
## 4.14.0-canary.3
|
|
1046
|
-
|
|
1047
|
-
## 4.14.0-canary.2
|
|
1048
|
-
|
|
1049
|
-
### Patch Changes
|
|
1050
|
-
|
|
1051
|
-
- [#1718](https://github.com/graphcommerce-org/graphcommerce/pull/1718) [`37e86cdc8`](https://github.com/graphcommerce-org/graphcommerce/commit/37e86cdc86ccca3db77d6c59b1e14c8112bb7893) - Remove usage of PropsWithChildren ([@paales](https://github.com/paales))
|
|
1052
|
-
|
|
1053
|
-
- [#1718](https://github.com/graphcommerce-org/graphcommerce/pull/1718) [`acef2a3ae`](https://github.com/graphcommerce-org/graphcommerce/commit/acef2a3aedd60e1882330cde56877bf26857d238) - Make the modules prop optional for the `<PaymentMethodContextProvider />` component ([@paales](https://github.com/paales))
|
|
1054
|
-
|
|
1055
|
-
## 4.13.2-canary.1
|
|
1056
|
-
|
|
1057
|
-
## 4.13.2-canary.0
|
|
1058
|
-
|
|
1059
|
-
## 4.13.3
|
|
1060
|
-
|
|
1061
|
-
## 4.13.2
|
|
1062
|
-
|
|
1063
|
-
## 4.13.1
|
|
1064
|
-
|
|
1065
|
-
## 4.13.1-canary.2
|
|
1066
|
-
|
|
1067
|
-
## 4.13.1-canary.1
|
|
1068
|
-
|
|
1069
|
-
## 4.13.1-canary.0
|
|
1070
|
-
|
|
1071
148
|
## 4.13.0
|
|
1072
149
|
|
|
1073
150
|
### Patch Changes
|
|
1074
151
|
|
|
1075
152
|
- [#1702](https://github.com/graphcommerce-org/graphcommerce/pull/1702) [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
|
|
1076
153
|
|
|
1077
|
-
## 4.13.0-canary.1
|
|
1078
|
-
|
|
1079
|
-
### Patch Changes
|
|
1080
|
-
|
|
1081
|
-
- [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
|
|
1082
|
-
|
|
1083
|
-
## 4.13.0-canary.0
|
|
1084
|
-
|
|
1085
154
|
## 3.6.9
|
|
1086
155
|
|
|
1087
156
|
### Patch Changes
|
|
@@ -1627,7 +696,7 @@
|
|
|
1627
696
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1628
697
|
|
|
1629
698
|
```tsx
|
|
1630
|
-
import {
|
|
699
|
+
import { t, Trans } from '@lingui/macro'
|
|
1631
700
|
|
|
1632
701
|
function MyComponent() {
|
|
1633
702
|
const foo = 'bar'
|
|
@@ -1642,8 +711,8 @@
|
|
|
1642
711
|
Needs to be replaced with:
|
|
1643
712
|
|
|
1644
713
|
```tsx
|
|
1645
|
-
import { Trans } from '@lingui/react'
|
|
1646
714
|
import { i18n } from '@lingui/core'
|
|
715
|
+
import { Trans } from '@lingui/react'
|
|
1647
716
|
|
|
1648
717
|
function MyComponent() {
|
|
1649
718
|
const foo = 'bar'
|
|
@@ -2029,8 +1098,6 @@ All notable changes to this project will be documented in this file. See [Conven
|
|
|
2029
1098
|
|
|
2030
1099
|
## [2.103.15](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-payment-method@2.103.14...@graphcommerce/magento-cart-payment-method@2.103.15) (2021-09-23)
|
|
2031
1100
|
|
|
2032
|
-
## [2.103.15](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-payment-method@2.103.14...@graphcommerce/magento-cart-payment-method@2.103.15) (2021-09-23)
|
|
2033
|
-
|
|
2034
1101
|
### Bug Fixes
|
|
2035
1102
|
|
|
2036
1103
|
- do not use ToggleButtonGroup, only use the ToggleButton ([5172f70](https://github.com/ho-nl/m2-pwa/commit/5172f709ee26122b0a8700afb4325f23cb9ba9b9))
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import { ActionCardItemRenderProps
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
UseFormComposeOptions,
|
|
8
|
-
} from '@graphcommerce/react-hook-form'
|
|
1
|
+
import type { ActionCardItemRenderProps } from '@graphcommerce/ecommerce-ui'
|
|
2
|
+
import { ActionCardListForm } from '@graphcommerce/ecommerce-ui'
|
|
3
|
+
import type { ActionCardProps } from '@graphcommerce/next-ui'
|
|
4
|
+
import { ActionCard, Button, FormDiv } from '@graphcommerce/next-ui'
|
|
5
|
+
import type { UseFormComposeOptions } from '@graphcommerce/react-hook-form'
|
|
6
|
+
import { FormPersist, useForm, useFormCompose } from '@graphcommerce/react-hook-form'
|
|
9
7
|
import { i18n } from '@lingui/core'
|
|
10
8
|
import { Trans } from '@lingui/react'
|
|
11
|
-
import { SxProps, Theme } from '@mui/material'
|
|
9
|
+
import type { SxProps, Theme } from '@mui/material'
|
|
12
10
|
import { useEffect } from 'react'
|
|
13
|
-
import { PaymentOptionsProps } from '../Api/PaymentMethod'
|
|
11
|
+
import type { PaymentOptionsProps } from '../Api/PaymentMethod'
|
|
14
12
|
import { usePaymentMethodContext } from '../PaymentMethodContext/paymentMethodContextType'
|
|
15
13
|
import { useCartLock } from '../hooks'
|
|
16
14
|
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ApolloCartErrorSnackbar } from '@graphcommerce/magento-cart'
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
2
|
+
import type { LinkOrButtonProps } from '@graphcommerce/next-ui'
|
|
3
|
+
import { LinkOrButton } from '@graphcommerce/next-ui'
|
|
4
|
+
import type {
|
|
5
5
|
ComposedSubmitProps,
|
|
6
6
|
ComposedSubmitRenderComponentProps,
|
|
7
7
|
} from '@graphcommerce/react-hook-form'
|
|
8
|
+
import { ComposedSubmit } from '@graphcommerce/react-hook-form'
|
|
8
9
|
import { usePaymentMethodContext } from '../PaymentMethodContext/paymentMethodContextType'
|
|
9
10
|
|
|
10
11
|
export type PaymentMethodButtonProps = LinkOrButtonProps & { display?: 'inline' | 'block' } & Pick<
|
|
@@ -4,15 +4,16 @@ import { filterNonNullableKeys } from '@graphcommerce/next-ui'
|
|
|
4
4
|
import { useEventCallback } from '@mui/material'
|
|
5
5
|
import { useRouter } from 'next/router'
|
|
6
6
|
import React, { useEffect, useMemo, useState } from 'react'
|
|
7
|
-
import {
|
|
7
|
+
import type {
|
|
8
8
|
ExpandPaymentMethodsContext,
|
|
9
9
|
PaymentMethod,
|
|
10
10
|
PaymentMethodModules,
|
|
11
11
|
PaymentModule,
|
|
12
12
|
} from '../Api/PaymentMethod'
|
|
13
|
-
import { PaymentMethodContextFragment } from '../Api/PaymentMethodContext.gql'
|
|
13
|
+
import type { PaymentMethodContextFragment } from '../Api/PaymentMethodContext.gql'
|
|
14
14
|
import { GetPaymentMethodContextDocument } from './GetPaymentMethodContext.gql'
|
|
15
|
-
import { PaymentMethodContextType
|
|
15
|
+
import type { PaymentMethodContextType } from './paymentMethodContextType'
|
|
16
|
+
import { paymentMethodContext } from './paymentMethodContextType'
|
|
16
17
|
|
|
17
18
|
export type PaymentMethodContextProviderProps = {
|
|
18
19
|
modules?: PaymentMethodModules
|
|
@@ -74,7 +75,9 @@ export function PaymentMethodContextProvider(props: PaymentMethodContextProvider
|
|
|
74
75
|
;(async () => {
|
|
75
76
|
const promises = availableMethods.map(async (method) =>
|
|
76
77
|
method
|
|
77
|
-
? modules[method.code]?.expandMethods?.(method, cartContext) ?? [
|
|
78
|
+
? (modules[method.code]?.expandMethods?.(method, cartContext) ?? [
|
|
79
|
+
{ ...method, child: '' },
|
|
80
|
+
])
|
|
78
81
|
: Promise.resolve([]),
|
|
79
82
|
)
|
|
80
83
|
const loaded = (await Promise.all(promises)).flat(1).sort((a) => (a.preferred ? 1 : 0))
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { extendableComponent } from '@graphcommerce/next-ui'
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { SxProps, Theme } from '@mui/material'
|
|
3
|
+
import { Box } from '@mui/material'
|
|
4
|
+
import type { PaymentMethodOptionsProps } from '../Api/PaymentMethod'
|
|
4
5
|
import { usePaymentMethodContext } from '../PaymentMethodContext/paymentMethodContextType'
|
|
5
6
|
|
|
6
|
-
const name = 'PaymentMethodOptions'
|
|
7
|
+
const name = 'PaymentMethodOptions'
|
|
7
8
|
const parts = ['root'] as const
|
|
8
9
|
const { classes } = extendableComponent(name, parts)
|
|
9
10
|
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
10
15
|
export function PaymentMethodOptions(props: PaymentMethodOptionsProps & { sx?: SxProps<Theme> }) {
|
|
11
16
|
const { sx = [], ...optionsProps } = props
|
|
12
17
|
const { selectedMethod, selectedModule } = usePaymentMethodContext()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCartQuery, useFormGqlMutationCart } from '@graphcommerce/magento-cart'
|
|
2
2
|
import { useFormAutoSubmit, useFormCompose } from '@graphcommerce/react-hook-form'
|
|
3
|
-
import { PaymentOptionsProps } from '../Api/PaymentMethod'
|
|
3
|
+
import type { PaymentOptionsProps } from '../Api/PaymentMethod'
|
|
4
4
|
import { GetPaymentMethodContextDocument } from '../PaymentMethodContext/GetPaymentMethodContext.gql'
|
|
5
5
|
import { PaymentMethodOptionsNoopDocument } from './PaymentMethodOptionsNoop.gql'
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UseFormComposeOptions } from '@graphcommerce/react-hook-form'
|
|
1
|
+
import type { UseFormComposeOptions } from '@graphcommerce/react-hook-form'
|
|
2
2
|
import { usePaymentMethodContext } from '../PaymentMethodContext/paymentMethodContextType'
|
|
3
3
|
|
|
4
4
|
export type PaymentMethodPlaceOrderProps = Pick<UseFormComposeOptions, 'step'>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useFormGqlMutationCart } from '@graphcommerce/magento-cart'
|
|
2
2
|
import { useFormCompose } from '@graphcommerce/react-hook-form'
|
|
3
3
|
import { t } from '@lingui/macro'
|
|
4
|
-
import { PaymentPlaceOrderProps } from '../Api/PaymentMethod'
|
|
4
|
+
import type { PaymentPlaceOrderProps } from '../Api/PaymentMethod'
|
|
5
5
|
import { usePaymentMethodContext } from '../PaymentMethodContext/paymentMethodContextType'
|
|
6
6
|
import { PaymentMethodPlaceOrderNoopDocument } from './PaymentMethodPlaceOrderNoop.gql'
|
|
7
7
|
|
|
@@ -1,32 +1,28 @@
|
|
|
1
1
|
import { Scroller, ScrollerButton, ScrollerProvider } from '@graphcommerce/framer-scroller'
|
|
2
2
|
import {
|
|
3
|
+
extendableComponent,
|
|
3
4
|
Form,
|
|
4
5
|
FormRow,
|
|
5
6
|
iconChevronLeft,
|
|
6
7
|
iconChevronRight,
|
|
7
|
-
responsiveVal,
|
|
8
8
|
IconSvg,
|
|
9
|
+
responsiveVal,
|
|
9
10
|
ToggleButton,
|
|
10
|
-
extendableComponent,
|
|
11
11
|
} from '@graphcommerce/next-ui'
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
FormPersist,
|
|
15
|
-
useForm,
|
|
16
|
-
useFormCompose,
|
|
17
|
-
UseFormComposeOptions,
|
|
18
|
-
} from '@graphcommerce/react-hook-form'
|
|
12
|
+
import type { UseFormComposeOptions } from '@graphcommerce/react-hook-form'
|
|
13
|
+
import { Controller, FormPersist, useForm, useFormCompose } from '@graphcommerce/react-hook-form'
|
|
19
14
|
import { i18n } from '@lingui/core'
|
|
20
|
-
import {
|
|
15
|
+
import type { SxProps, Theme } from '@mui/material'
|
|
16
|
+
import { Box, FormControl, FormHelperText } from '@mui/material'
|
|
21
17
|
import { useEffect } from 'react'
|
|
22
|
-
import { usePaymentMethodContext } from '../PaymentMethodContext/paymentMethodContextType'
|
|
23
18
|
import { useCartLock } from '../hooks/useCartLock'
|
|
19
|
+
import { usePaymentMethodContext } from '../PaymentMethodContext/paymentMethodContextType'
|
|
24
20
|
|
|
25
21
|
export type PaymentMethodTogglesProps = Pick<UseFormComposeOptions, 'step'> & {
|
|
26
22
|
sx?: SxProps<Theme>
|
|
27
23
|
}
|
|
28
24
|
|
|
29
|
-
const cmpName = 'PaymentMethodToggles'
|
|
25
|
+
const cmpName = 'PaymentMethodToggles'
|
|
30
26
|
const parts = [
|
|
31
27
|
'formRoot',
|
|
32
28
|
'root',
|
|
@@ -41,6 +37,10 @@ const parts = [
|
|
|
41
37
|
] as const
|
|
42
38
|
const { classes } = extendableComponent(cmpName, parts)
|
|
43
39
|
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
44
|
export function PaymentMethodToggles(props: PaymentMethodTogglesProps) {
|
|
45
45
|
const { step, sx = [] } = props
|
|
46
46
|
const { methods, selectedMethod, setSelectedMethod, setSelectedModule, modules } =
|
|
@@ -130,8 +130,8 @@ export function PaymentMethodToggles(props: PaymentMethodTogglesProps) {
|
|
|
130
130
|
hideScrollbar
|
|
131
131
|
tabIndex={0}
|
|
132
132
|
sx={{
|
|
133
|
-
gridAutoColumns:
|
|
134
|
-
gridTemplateRows:
|
|
133
|
+
gridAutoColumns: 'max-content',
|
|
134
|
+
gridTemplateRows: '100%',
|
|
135
135
|
gap: responsiveVal(4, 8),
|
|
136
136
|
height: responsiveVal(60, 85),
|
|
137
137
|
borderRadius: '5px',
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-cart-payment-method",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "9.0.0
|
|
5
|
+
"version": "9.0.0",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,23 +12,23 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/ecommerce-ui": "^9.0.0
|
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.0
|
|
17
|
-
"@graphcommerce/framer-scroller": "^9.0.0
|
|
18
|
-
"@graphcommerce/graphql": "^9.0.0
|
|
19
|
-
"@graphcommerce/image": "^9.0.0
|
|
20
|
-
"@graphcommerce/magento-cart": "^9.0.0
|
|
21
|
-
"@graphcommerce/magento-cart-shipping-address": "^9.0.0
|
|
22
|
-
"@graphcommerce/magento-store": "^9.0.0
|
|
23
|
-
"@graphcommerce/next-ui": "^9.0.0
|
|
24
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0
|
|
25
|
-
"@graphcommerce/react-hook-form": "^9.0.0
|
|
26
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.0
|
|
15
|
+
"@graphcommerce/ecommerce-ui": "^9.0.0",
|
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0",
|
|
17
|
+
"@graphcommerce/framer-scroller": "^9.0.0",
|
|
18
|
+
"@graphcommerce/graphql": "^9.0.0",
|
|
19
|
+
"@graphcommerce/image": "^9.0.0",
|
|
20
|
+
"@graphcommerce/magento-cart": "^9.0.0",
|
|
21
|
+
"@graphcommerce/magento-cart-shipping-address": "^9.0.0",
|
|
22
|
+
"@graphcommerce/magento-store": "^9.0.0",
|
|
23
|
+
"@graphcommerce/next-ui": "^9.0.0",
|
|
24
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0",
|
|
25
|
+
"@graphcommerce/react-hook-form": "^9.0.0",
|
|
26
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0",
|
|
27
27
|
"@lingui/core": "^4.2.1",
|
|
28
28
|
"@lingui/macro": "^4.2.1",
|
|
29
29
|
"@lingui/react": "^4.2.1",
|
|
30
30
|
"@mui/material": "^5.10.16",
|
|
31
|
-
"framer-motion": "^
|
|
31
|
+
"framer-motion": "^11.0.0",
|
|
32
32
|
"next": "*",
|
|
33
33
|
"react": "^18.2.0",
|
|
34
34
|
"react-dom": "^18.2.0"
|
package/test/goToPayment.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
2
|
-
import { ApolloClient, NormalizedCacheObject } from '@graphcommerce/graphql'
|
|
3
|
-
import { fillCartAgreementsForm } from '@graphcommerce/magento-cart/test/fillCartAgreementsForm'
|
|
2
|
+
import type { ApolloClient, NormalizedCacheObject } from '@graphcommerce/graphql'
|
|
4
3
|
import { fillShippingAddressForm } from '@graphcommerce/magento-cart-shipping-address/test/fillShippingAddressForm'
|
|
5
|
-
import {
|
|
4
|
+
import { fillCartAgreementsForm } from '@graphcommerce/magento-cart/test/fillCartAgreementsForm'
|
|
5
|
+
import type { Page } from '@playwright/test'
|
|
6
6
|
|
|
7
7
|
export const goToPayment = async (
|
|
8
8
|
page: Page,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
2
|
-
import { Page } from '@playwright/test'
|
|
2
|
+
import type { Page } from '@playwright/test'
|
|
3
3
|
|
|
4
4
|
export const selectPaymentMethod = async (page: Page, method: string) => {
|
|
5
5
|
const locator = page.locator(`button[value=${method}]`)
|