@graphcommerce/magento-cart-payment-method 9.0.0-canary.100 → 9.0.0-canary.103
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 +27 -1010
- package/PaymentMethodActionCardList/PaymentMethodActionCardListForm.tsx +8 -10
- package/PaymentMethodButton/PaymentMethodButton.tsx +4 -3
- package/PaymentMethodContext/PaymentMethodContext.tsx +7 -4
- package/PaymentMethodOptions/PaymentMethodOptions.tsx +4 -3
- package/PaymentMethodOptionsNoop/PaymentMethodOptionsNoop.tsx +1 -1
- package/PaymentMethodPlaceOrder/PaymentMethodPlaceOrder.tsx +1 -1
- package/PaymentMethodPlaceOrderNoop/PaymentMethodPlaceOrderNoop.tsx +1 -1
- package/PaymentMethodToggles/PaymentMethodToggles.tsx +7 -11
- package/package.json +14 -14
- package/test/goToPayment.ts +2 -2
- 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,816 +1,62 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 9.0.0-canary.
|
|
3
|
+
## 9.0.0-canary.103
|
|
4
4
|
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
## 9.0.0-canary.98
|
|
8
|
-
|
|
9
|
-
## 9.0.0-canary.97
|
|
10
|
-
|
|
11
|
-
## 9.0.0-canary.96
|
|
12
|
-
|
|
13
|
-
## 9.0.0-canary.95
|
|
14
|
-
|
|
15
|
-
## 9.0.0-canary.94
|
|
16
|
-
|
|
17
|
-
## 9.0.0-canary.93
|
|
18
|
-
|
|
19
|
-
## 9.0.0-canary.92
|
|
20
|
-
|
|
21
|
-
## 9.0.0-canary.91
|
|
22
|
-
|
|
23
|
-
## 9.0.0-canary.90
|
|
24
|
-
|
|
25
|
-
## 9.0.0-canary.89
|
|
26
|
-
|
|
27
|
-
## 9.0.0-canary.88
|
|
28
|
-
|
|
29
|
-
## 9.0.0-canary.87
|
|
30
|
-
|
|
31
|
-
## 9.0.0-canary.86
|
|
32
|
-
|
|
33
|
-
## 9.0.0-canary.85
|
|
34
|
-
|
|
35
|
-
## 9.0.0-canary.84
|
|
36
|
-
|
|
37
|
-
## 9.0.0-canary.83
|
|
38
|
-
|
|
39
|
-
## 9.0.0-canary.82
|
|
40
|
-
|
|
41
|
-
## 9.0.0-canary.81
|
|
42
|
-
|
|
43
|
-
## 9.0.0-canary.80
|
|
44
|
-
|
|
45
|
-
## 9.0.0-canary.79
|
|
46
|
-
|
|
47
|
-
## 9.0.0-canary.78
|
|
48
|
-
|
|
49
|
-
## 9.0.0-canary.77
|
|
50
|
-
|
|
51
|
-
## 9.0.0-canary.76
|
|
52
|
-
|
|
53
|
-
## 9.0.0-canary.75
|
|
54
|
-
|
|
55
|
-
## 9.0.0-canary.74
|
|
56
|
-
|
|
57
|
-
## 9.0.0-canary.73
|
|
58
|
-
|
|
59
|
-
## 9.0.0-canary.72
|
|
60
|
-
|
|
61
|
-
## 9.0.0-canary.71
|
|
62
|
-
|
|
63
|
-
## 9.0.0-canary.70
|
|
64
|
-
|
|
65
|
-
## 9.0.0-canary.69
|
|
66
|
-
|
|
67
|
-
## 9.0.0-canary.68
|
|
68
|
-
|
|
69
|
-
## 9.0.0-canary.67
|
|
70
|
-
|
|
71
|
-
## 9.0.0-canary.66
|
|
72
|
-
|
|
73
|
-
## 9.0.0-canary.65
|
|
74
|
-
|
|
75
|
-
## 9.0.0-canary.64
|
|
76
|
-
|
|
77
|
-
## 9.0.0-canary.63
|
|
78
|
-
|
|
79
|
-
## 9.0.0-canary.62
|
|
80
|
-
|
|
81
|
-
## 9.0.0-canary.61
|
|
82
|
-
|
|
83
|
-
## 9.0.0-canary.60
|
|
84
|
-
|
|
85
|
-
## 9.0.0-canary.59
|
|
86
|
-
|
|
87
|
-
## 9.0.0-canary.58
|
|
88
|
-
|
|
89
|
-
## 9.0.0-canary.57
|
|
90
|
-
|
|
91
|
-
## 9.0.0-canary.56
|
|
92
|
-
|
|
93
|
-
## 9.0.0-canary.55
|
|
94
|
-
|
|
95
|
-
## 9.0.0-canary.54
|
|
96
|
-
|
|
97
|
-
## 8.1.0-canary.53
|
|
98
|
-
|
|
99
|
-
## 8.1.0-canary.52
|
|
100
|
-
|
|
101
|
-
## 8.1.0-canary.51
|
|
102
|
-
|
|
103
|
-
## 8.1.0-canary.50
|
|
104
|
-
|
|
105
|
-
## 8.1.0-canary.49
|
|
106
|
-
|
|
107
|
-
## 8.1.0-canary.48
|
|
108
|
-
|
|
109
|
-
## 8.1.0-canary.47
|
|
110
|
-
|
|
111
|
-
## 8.1.0-canary.46
|
|
112
|
-
|
|
113
|
-
## 8.1.0-canary.45
|
|
114
|
-
|
|
115
|
-
## 8.1.0-canary.44
|
|
116
|
-
|
|
117
|
-
## 8.1.0-canary.43
|
|
118
|
-
|
|
119
|
-
## 8.1.0-canary.42
|
|
120
|
-
|
|
121
|
-
## 8.1.0-canary.41
|
|
122
|
-
|
|
123
|
-
## 8.1.0-canary.40
|
|
124
|
-
|
|
125
|
-
## 8.1.0-canary.39
|
|
126
|
-
|
|
127
|
-
## 8.1.0-canary.38
|
|
128
|
-
|
|
129
|
-
### Patch Changes
|
|
130
|
-
|
|
131
|
-
- [#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))
|
|
132
|
-
|
|
133
|
-
## 8.1.0-canary.37
|
|
134
|
-
|
|
135
|
-
## 8.1.0-canary.36
|
|
136
|
-
|
|
137
|
-
## 8.1.0-canary.35
|
|
138
|
-
|
|
139
|
-
## 8.1.0-canary.34
|
|
140
|
-
|
|
141
|
-
## 8.1.0-canary.33
|
|
142
|
-
|
|
143
|
-
## 8.1.0-canary.32
|
|
144
|
-
|
|
145
|
-
## 8.1.0-canary.31
|
|
146
|
-
|
|
147
|
-
## 8.1.0-canary.30
|
|
148
|
-
|
|
149
|
-
## 8.1.0-canary.29
|
|
150
|
-
|
|
151
|
-
## 8.1.0-canary.28
|
|
152
|
-
|
|
153
|
-
## 8.1.0-canary.27
|
|
154
|
-
|
|
155
|
-
## 8.1.0-canary.26
|
|
156
|
-
|
|
157
|
-
## 8.1.0-canary.25
|
|
158
|
-
|
|
159
|
-
## 8.1.0-canary.24
|
|
160
|
-
|
|
161
|
-
## 8.1.0-canary.23
|
|
162
|
-
|
|
163
|
-
## 8.1.0-canary.22
|
|
164
|
-
|
|
165
|
-
## 8.1.0-canary.21
|
|
166
|
-
|
|
167
|
-
## 8.1.0-canary.20
|
|
168
|
-
|
|
169
|
-
## 8.1.0-canary.19
|
|
170
|
-
|
|
171
|
-
## 8.1.0-canary.18
|
|
172
|
-
|
|
173
|
-
### Patch Changes
|
|
174
|
-
|
|
175
|
-
- [#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))
|
|
176
|
-
|
|
177
|
-
## 8.1.0-canary.17
|
|
178
|
-
|
|
179
|
-
## 8.1.0-canary.16
|
|
180
|
-
|
|
181
|
-
## 8.1.0-canary.15
|
|
182
|
-
|
|
183
|
-
## 8.1.0-canary.14
|
|
184
|
-
|
|
185
|
-
### Patch Changes
|
|
186
|
-
|
|
187
|
-
- [`831d7cd`](https://github.com/graphcommerce-org/graphcommerce/commit/831d7cd64a40b7b58748fd9637199b88938e75b7) - Compatibility with Magento 2.4.7 ([@paales](https://github.com/paales))
|
|
188
|
-
|
|
189
|
-
## 8.1.0-canary.13
|
|
190
|
-
|
|
191
|
-
## 8.1.0-canary.12
|
|
192
|
-
|
|
193
|
-
## 8.1.0-canary.11
|
|
194
|
-
|
|
195
|
-
## 8.1.0-canary.10
|
|
196
|
-
|
|
197
|
-
## 8.1.0-canary.9
|
|
198
|
-
|
|
199
|
-
## 8.1.0-canary.8
|
|
200
|
-
|
|
201
|
-
### Patch Changes
|
|
202
|
-
|
|
203
|
-
- [#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))
|
|
204
|
-
|
|
205
|
-
## 8.1.0-canary.7
|
|
206
|
-
|
|
207
|
-
## 8.1.0-canary.6
|
|
208
|
-
|
|
209
|
-
## 8.1.0-canary.5
|
|
210
|
-
|
|
211
|
-
## 8.0.6-canary.4
|
|
212
|
-
|
|
213
|
-
## 8.0.6-canary.3
|
|
214
|
-
|
|
215
|
-
## 8.0.6-canary.2
|
|
216
|
-
|
|
217
|
-
### Patch Changes
|
|
218
|
-
|
|
219
|
-
- [#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))
|
|
220
|
-
|
|
221
|
-
- [#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))
|
|
222
|
-
|
|
223
|
-
- [#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))
|
|
224
|
-
|
|
225
|
-
## 8.0.6-canary.1
|
|
226
|
-
|
|
227
|
-
## 8.0.6-canary.0
|
|
228
|
-
|
|
229
|
-
## 8.0.5
|
|
230
|
-
|
|
231
|
-
## 8.0.5-canary.10
|
|
232
|
-
|
|
233
|
-
## 8.0.5-canary.9
|
|
234
|
-
|
|
235
|
-
## 8.0.5-canary.8
|
|
236
|
-
|
|
237
|
-
## 8.0.5-canary.7
|
|
238
|
-
|
|
239
|
-
## 8.0.5-canary.6
|
|
240
|
-
|
|
241
|
-
## 8.0.5-canary.5
|
|
242
|
-
|
|
243
|
-
## 8.0.5-canary.4
|
|
244
|
-
|
|
245
|
-
## 8.0.5-canary.3
|
|
246
|
-
|
|
247
|
-
## 8.0.5-canary.2
|
|
248
|
-
|
|
249
|
-
## 8.0.5-canary.1
|
|
250
|
-
|
|
251
|
-
## 8.0.5-canary.0
|
|
252
|
-
|
|
253
|
-
## 8.0.4
|
|
254
|
-
|
|
255
|
-
## 8.0.4-canary.1
|
|
256
|
-
|
|
257
|
-
## 8.0.4-canary.0
|
|
258
|
-
|
|
259
|
-
## 8.0.3
|
|
260
|
-
|
|
261
|
-
## 8.0.3-canary.6
|
|
262
|
-
|
|
263
|
-
## 8.0.3-canary.5
|
|
264
|
-
|
|
265
|
-
## 8.0.3-canary.4
|
|
266
|
-
|
|
267
|
-
## 8.0.3-canary.3
|
|
268
|
-
|
|
269
|
-
## 8.0.3-canary.2
|
|
270
|
-
|
|
271
|
-
## 8.0.3-canary.1
|
|
272
|
-
|
|
273
|
-
## 8.0.3-canary.0
|
|
274
|
-
|
|
275
|
-
## 8.0.2
|
|
276
|
-
|
|
277
|
-
## 8.0.2-canary.3
|
|
278
|
-
|
|
279
|
-
## 8.0.2-canary.2
|
|
280
|
-
|
|
281
|
-
## 8.0.2-canary.1
|
|
282
|
-
|
|
283
|
-
## 8.0.2-canary.0
|
|
284
|
-
|
|
285
|
-
## 8.0.1
|
|
286
|
-
|
|
287
|
-
## 8.0.1-canary.4
|
|
288
|
-
|
|
289
|
-
## 8.0.1-canary.3
|
|
290
|
-
|
|
291
|
-
## 8.0.1-canary.2
|
|
292
|
-
|
|
293
|
-
## 8.0.1-canary.1
|
|
294
|
-
|
|
295
|
-
## 8.0.1-canary.0
|
|
296
|
-
|
|
297
|
-
## 8.0.0
|
|
298
|
-
|
|
299
|
-
### Patch Changes
|
|
300
|
-
|
|
301
|
-
- [#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))
|
|
302
|
-
|
|
303
|
-
## 8.0.0-canary.100
|
|
304
|
-
|
|
305
|
-
## 8.0.0-canary.99
|
|
306
|
-
|
|
307
|
-
## 8.0.0-canary.98
|
|
308
|
-
|
|
309
|
-
## 8.0.0-canary.97
|
|
310
|
-
|
|
311
|
-
## 8.0.0-canary.96
|
|
312
|
-
|
|
313
|
-
## 8.0.0-canary.95
|
|
314
|
-
|
|
315
|
-
## 8.0.0-canary.94
|
|
316
|
-
|
|
317
|
-
## 8.0.0-canary.93
|
|
318
|
-
|
|
319
|
-
## 8.0.0-canary.92
|
|
320
|
-
|
|
321
|
-
## 8.0.0-canary.91
|
|
322
|
-
|
|
323
|
-
## 8.0.0-canary.90
|
|
324
|
-
|
|
325
|
-
## 8.0.0-canary.89
|
|
326
|
-
|
|
327
|
-
## 8.0.0-canary.88
|
|
328
|
-
|
|
329
|
-
## 8.0.0-canary.87
|
|
330
|
-
|
|
331
|
-
## 8.0.0-canary.86
|
|
332
|
-
|
|
333
|
-
## 8.0.0-canary.85
|
|
334
|
-
|
|
335
|
-
## 8.0.0-canary.84
|
|
336
|
-
|
|
337
|
-
## 8.0.0-canary.83
|
|
338
|
-
|
|
339
|
-
## 8.0.0-canary.82
|
|
340
|
-
|
|
341
|
-
## 8.0.0-canary.81
|
|
342
|
-
|
|
343
|
-
## 8.0.0-canary.80
|
|
344
|
-
|
|
345
|
-
## 8.0.0-canary.79
|
|
346
|
-
|
|
347
|
-
## 8.0.0-canary.78
|
|
348
|
-
|
|
349
|
-
## 8.0.0-canary.77
|
|
350
|
-
|
|
351
|
-
## 8.0.0-canary.76
|
|
352
|
-
|
|
353
|
-
## 8.0.0-canary.75
|
|
354
|
-
|
|
355
|
-
## 8.0.0-canary.74
|
|
356
|
-
|
|
357
|
-
## 8.0.0-canary.73
|
|
358
|
-
|
|
359
|
-
## 8.0.0-canary.72
|
|
360
|
-
|
|
361
|
-
## 8.0.0-canary.71
|
|
362
|
-
|
|
363
|
-
## 8.0.0-canary.70
|
|
364
|
-
|
|
365
|
-
## 8.0.0-canary.69
|
|
366
|
-
|
|
367
|
-
## 7.1.0-canary.68
|
|
368
|
-
|
|
369
|
-
## 7.1.0-canary.67
|
|
370
|
-
|
|
371
|
-
## 7.1.0-canary.66
|
|
372
|
-
|
|
373
|
-
## 7.1.0-canary.65
|
|
374
|
-
|
|
375
|
-
## 7.1.0-canary.64
|
|
376
|
-
|
|
377
|
-
## 7.1.0-canary.63
|
|
378
|
-
|
|
379
|
-
## 7.1.0-canary.62
|
|
380
|
-
|
|
381
|
-
## 7.1.0-canary.61
|
|
382
|
-
|
|
383
|
-
## 7.1.0-canary.60
|
|
384
|
-
|
|
385
|
-
## 7.1.0-canary.59
|
|
386
|
-
|
|
387
|
-
## 7.1.0-canary.58
|
|
388
|
-
|
|
389
|
-
## 7.1.0-canary.57
|
|
390
|
-
|
|
391
|
-
## 7.1.0-canary.56
|
|
392
|
-
|
|
393
|
-
## 7.1.0-canary.55
|
|
394
|
-
|
|
395
|
-
## 7.1.0-canary.54
|
|
396
|
-
|
|
397
|
-
## 7.1.0-canary.53
|
|
398
|
-
|
|
399
|
-
## 7.1.0-canary.52
|
|
400
|
-
|
|
401
|
-
## 7.1.0-canary.51
|
|
402
|
-
|
|
403
|
-
## 7.1.0-canary.50
|
|
404
|
-
|
|
405
|
-
## 7.1.0-canary.49
|
|
406
|
-
|
|
407
|
-
### Patch Changes
|
|
408
|
-
|
|
409
|
-
- [#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))
|
|
410
|
-
|
|
411
|
-
## 7.1.0-canary.48
|
|
412
|
-
|
|
413
|
-
## 7.1.0-canary.47
|
|
414
|
-
|
|
415
|
-
## 7.1.0-canary.46
|
|
416
|
-
|
|
417
|
-
## 7.1.0-canary.45
|
|
418
|
-
|
|
419
|
-
## 7.1.0-canary.38
|
|
420
|
-
|
|
421
|
-
## 7.1.0-canary.37
|
|
422
|
-
|
|
423
|
-
## 7.1.0-canary.36
|
|
424
|
-
|
|
425
|
-
## 7.1.0-canary.35
|
|
426
|
-
|
|
427
|
-
## 7.1.0-canary.34
|
|
428
|
-
|
|
429
|
-
## 7.1.0-canary.33
|
|
430
|
-
|
|
431
|
-
## 7.1.0-canary.32
|
|
432
|
-
|
|
433
|
-
## 7.1.0-canary.31
|
|
434
|
-
|
|
435
|
-
## 7.1.0-canary.30
|
|
436
|
-
|
|
437
|
-
## 7.1.0-canary.29
|
|
438
|
-
|
|
439
|
-
## 7.1.0-canary.28
|
|
440
|
-
|
|
441
|
-
## 7.1.0-canary.27
|
|
442
|
-
|
|
443
|
-
## 7.1.0-canary.26
|
|
444
|
-
|
|
445
|
-
## 7.1.0-canary.25
|
|
446
|
-
|
|
447
|
-
## 7.1.0-canary.24
|
|
448
|
-
|
|
449
|
-
## 7.1.0-canary.23
|
|
450
|
-
|
|
451
|
-
## 7.1.0-canary.22
|
|
452
|
-
|
|
453
|
-
## 7.1.0-canary.21
|
|
454
|
-
|
|
455
|
-
## 7.1.0-canary.20
|
|
456
|
-
|
|
457
|
-
## 7.1.0-canary.19
|
|
458
|
-
|
|
459
|
-
## 7.1.0-canary.18
|
|
460
|
-
|
|
461
|
-
## 7.1.0-canary.17
|
|
462
|
-
|
|
463
|
-
## 7.1.0-canary.16
|
|
464
|
-
|
|
465
|
-
## 7.1.0-canary.15
|
|
466
|
-
|
|
467
|
-
## 7.1.0-canary.14
|
|
468
|
-
|
|
469
|
-
## 7.1.0-canary.13
|
|
470
|
-
|
|
471
|
-
## 7.1.0-canary.12
|
|
472
|
-
|
|
473
|
-
## 7.1.0-canary.11
|
|
474
|
-
|
|
475
|
-
## 7.1.0-canary.10
|
|
476
|
-
|
|
477
|
-
## 7.1.0-canary.9
|
|
478
|
-
|
|
479
|
-
## 7.1.0-canary.8
|
|
480
|
-
|
|
481
|
-
## 7.0.2-canary.7
|
|
482
|
-
|
|
483
|
-
## 7.0.2-canary.6
|
|
484
|
-
|
|
485
|
-
## 7.0.2-canary.5
|
|
486
|
-
|
|
487
|
-
## 7.0.1
|
|
488
|
-
|
|
489
|
-
### Patch Changes
|
|
490
|
-
|
|
491
|
-
- [#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))
|
|
492
|
-
|
|
493
|
-
## 7.0.1-canary.15
|
|
494
|
-
|
|
495
|
-
## 7.0.1-canary.14
|
|
496
|
-
|
|
497
|
-
## 7.0.1-canary.13
|
|
498
|
-
|
|
499
|
-
## 7.0.1-canary.12
|
|
500
|
-
|
|
501
|
-
## 7.0.1-canary.11
|
|
502
|
-
|
|
503
|
-
## 7.0.1-canary.10
|
|
504
|
-
|
|
505
|
-
## 7.0.1-canary.9
|
|
506
|
-
|
|
507
|
-
### Patch Changes
|
|
508
|
-
|
|
509
|
-
- [#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))
|
|
510
|
-
|
|
511
|
-
## 7.0.1-canary.8
|
|
512
|
-
|
|
513
|
-
## 7.0.1-canary.7
|
|
514
|
-
|
|
515
|
-
## 7.0.1-canary.6
|
|
516
|
-
|
|
517
|
-
## 7.0.1-canary.5
|
|
518
|
-
|
|
519
|
-
## 7.0.1-canary.4
|
|
520
|
-
|
|
521
|
-
## 7.0.1-canary.3
|
|
522
|
-
|
|
523
|
-
## 7.0.1-canary.2
|
|
524
|
-
|
|
525
|
-
## 7.0.1-canary.1
|
|
526
|
-
|
|
527
|
-
## 7.0.1-canary.0
|
|
528
|
-
|
|
529
|
-
## 7.0.0
|
|
530
|
-
|
|
531
|
-
### Patch Changes
|
|
532
|
-
|
|
533
|
-
- [#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))
|
|
534
|
-
|
|
535
|
-
- [#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))
|
|
536
|
-
|
|
537
|
-
- [#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))
|
|
538
|
-
|
|
539
|
-
## 6.2.0-canary.98
|
|
540
|
-
|
|
541
|
-
## 6.2.0-canary.97
|
|
542
|
-
|
|
543
|
-
## 6.2.0-canary.96
|
|
544
|
-
|
|
545
|
-
## 6.2.0-canary.95
|
|
546
|
-
|
|
547
|
-
## 6.2.0-canary.94
|
|
548
|
-
|
|
549
|
-
## 6.2.0-canary.93
|
|
550
|
-
|
|
551
|
-
## 6.2.0-canary.92
|
|
552
|
-
|
|
553
|
-
## 6.2.0-canary.91
|
|
554
|
-
|
|
555
|
-
## 6.2.0-canary.90
|
|
556
|
-
|
|
557
|
-
## 6.2.0-canary.89
|
|
558
|
-
|
|
559
|
-
### Patch Changes
|
|
560
|
-
|
|
561
|
-
- [#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))
|
|
562
|
-
|
|
563
|
-
## 6.2.0-canary.88
|
|
564
|
-
|
|
565
|
-
## 6.2.0-canary.87
|
|
566
|
-
|
|
567
|
-
## 6.2.0-canary.86
|
|
568
|
-
|
|
569
|
-
## 6.2.0-canary.85
|
|
5
|
+
## 8.1.0-canary.38
|
|
570
6
|
|
|
571
7
|
### Patch Changes
|
|
572
8
|
|
|
573
|
-
- [#
|
|
574
|
-
|
|
575
|
-
## 6.2.0-canary.84
|
|
576
|
-
|
|
577
|
-
## 6.2.0-canary.83
|
|
578
|
-
|
|
579
|
-
## 6.2.0-canary.82
|
|
580
|
-
|
|
581
|
-
## 6.2.0-canary.81
|
|
582
|
-
|
|
583
|
-
## 6.2.0-canary.80
|
|
584
|
-
|
|
585
|
-
## 6.2.0-canary.79
|
|
586
|
-
|
|
587
|
-
## 6.2.0-canary.78
|
|
588
|
-
|
|
589
|
-
## 6.2.0-canary.77
|
|
590
|
-
|
|
591
|
-
## 6.2.0-canary.76
|
|
592
|
-
|
|
593
|
-
## 6.2.0-canary.75
|
|
594
|
-
|
|
595
|
-
## 6.2.0-canary.74
|
|
596
|
-
|
|
597
|
-
## 6.2.0-canary.73
|
|
598
|
-
|
|
599
|
-
## 6.2.0-canary.72
|
|
600
|
-
|
|
601
|
-
## 6.2.0-canary.71
|
|
602
|
-
|
|
603
|
-
## 6.2.0-canary.70
|
|
604
|
-
|
|
605
|
-
## 6.2.0-canary.69
|
|
606
|
-
|
|
607
|
-
## 6.2.0-canary.68
|
|
608
|
-
|
|
609
|
-
## 6.2.0-canary.67
|
|
610
|
-
|
|
611
|
-
## 6.2.0-canary.66
|
|
612
|
-
|
|
613
|
-
## 6.2.0-canary.65
|
|
614
|
-
|
|
615
|
-
## 6.2.0-canary.64
|
|
616
|
-
|
|
617
|
-
## 6.2.0-canary.63
|
|
618
|
-
|
|
619
|
-
## 6.2.0-canary.62
|
|
620
|
-
|
|
621
|
-
## 6.2.0-canary.61
|
|
622
|
-
|
|
623
|
-
## 6.2.0-canary.60
|
|
624
|
-
|
|
625
|
-
## 6.2.0-canary.59
|
|
626
|
-
|
|
627
|
-
## 6.2.0-canary.58
|
|
628
|
-
|
|
629
|
-
## 6.2.0-canary.57
|
|
630
|
-
|
|
631
|
-
## 6.2.0-canary.56
|
|
632
|
-
|
|
633
|
-
## 6.2.0-canary.55
|
|
634
|
-
|
|
635
|
-
## 6.2.0-canary.54
|
|
636
|
-
|
|
637
|
-
## 6.2.0-canary.53
|
|
638
|
-
|
|
639
|
-
## 6.2.0-canary.52
|
|
640
|
-
|
|
641
|
-
## 6.2.0-canary.51
|
|
642
|
-
|
|
643
|
-
## 6.2.0-canary.50
|
|
644
|
-
|
|
645
|
-
## 6.2.0-canary.49
|
|
646
|
-
|
|
647
|
-
## 6.2.0-canary.48
|
|
648
|
-
|
|
649
|
-
## 6.2.0-canary.47
|
|
650
|
-
|
|
651
|
-
## 6.2.0-canary.46
|
|
652
|
-
|
|
653
|
-
## 6.2.0-canary.45
|
|
654
|
-
|
|
655
|
-
## 6.2.0-canary.44
|
|
656
|
-
|
|
657
|
-
## 6.2.0-canary.43
|
|
658
|
-
|
|
659
|
-
## 6.2.0-canary.42
|
|
660
|
-
|
|
661
|
-
## 6.2.0-canary.41
|
|
662
|
-
|
|
663
|
-
## 6.2.0-canary.40
|
|
664
|
-
|
|
665
|
-
## 6.2.0-canary.39
|
|
666
|
-
|
|
667
|
-
## 6.2.0-canary.38
|
|
668
|
-
|
|
669
|
-
## 6.2.0-canary.37
|
|
670
|
-
|
|
671
|
-
## 6.2.0-canary.36
|
|
672
|
-
|
|
673
|
-
## 6.2.0-canary.35
|
|
674
|
-
|
|
675
|
-
## 6.2.0-canary.34
|
|
676
|
-
|
|
677
|
-
## 6.2.0-canary.33
|
|
678
|
-
|
|
679
|
-
## 6.2.0-canary.32
|
|
680
|
-
|
|
681
|
-
## 6.2.0-canary.31
|
|
682
|
-
|
|
683
|
-
## 6.2.0-canary.30
|
|
684
|
-
|
|
685
|
-
## 6.2.0-canary.29
|
|
686
|
-
|
|
687
|
-
## 6.2.0-canary.28
|
|
688
|
-
|
|
689
|
-
## 6.2.0-canary.27
|
|
690
|
-
|
|
691
|
-
## 6.2.0-canary.26
|
|
692
|
-
|
|
693
|
-
## 6.2.0-canary.25
|
|
9
|
+
- [#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))
|
|
694
10
|
|
|
695
|
-
##
|
|
11
|
+
## 8.1.0-canary.18
|
|
696
12
|
|
|
697
13
|
### Patch Changes
|
|
698
14
|
|
|
699
|
-
- [#
|
|
700
|
-
|
|
701
|
-
## 6.2.0-canary.23
|
|
702
|
-
|
|
703
|
-
## 6.2.0-canary.22
|
|
704
|
-
|
|
705
|
-
## 6.2.0-canary.21
|
|
706
|
-
|
|
707
|
-
## 6.2.0-canary.20
|
|
708
|
-
|
|
709
|
-
## 6.2.0-canary.19
|
|
710
|
-
|
|
711
|
-
## 6.2.0-canary.18
|
|
712
|
-
|
|
713
|
-
## 6.2.0-canary.17
|
|
714
|
-
|
|
715
|
-
## 6.2.0-canary.16
|
|
716
|
-
|
|
717
|
-
## 6.2.0-canary.15
|
|
718
|
-
|
|
719
|
-
## 6.2.0-canary.14
|
|
720
|
-
|
|
721
|
-
## 6.2.0-canary.13
|
|
722
|
-
|
|
723
|
-
## 6.2.0-canary.12
|
|
724
|
-
|
|
725
|
-
## 6.2.0-canary.11
|
|
726
|
-
|
|
727
|
-
## 6.2.0-canary.10
|
|
728
|
-
|
|
729
|
-
## 6.2.0-canary.9
|
|
730
|
-
|
|
731
|
-
## 6.2.0-canary.8
|
|
732
|
-
|
|
733
|
-
## 6.2.0-canary.7
|
|
734
|
-
|
|
735
|
-
## 6.2.0-canary.6
|
|
736
|
-
|
|
737
|
-
## 6.1.1-canary.5
|
|
738
|
-
|
|
739
|
-
## 6.1.1-canary.4
|
|
740
|
-
|
|
741
|
-
## 6.1.1-canary.3
|
|
742
|
-
|
|
743
|
-
## 6.1.1-canary.2
|
|
744
|
-
|
|
745
|
-
## 6.1.1-canary.1
|
|
746
|
-
|
|
747
|
-
## 6.1.1-canary.0
|
|
748
|
-
|
|
749
|
-
## 6.1.0
|
|
750
|
-
|
|
751
|
-
## 6.0.2-canary.22
|
|
752
|
-
|
|
753
|
-
## 6.0.2-canary.21
|
|
754
|
-
|
|
755
|
-
## 6.0.2-canary.20
|
|
756
|
-
|
|
757
|
-
## 6.0.2-canary.19
|
|
758
|
-
|
|
759
|
-
## 6.0.2-canary.18
|
|
760
|
-
|
|
761
|
-
## 6.0.2-canary.17
|
|
762
|
-
|
|
763
|
-
## 6.0.2-canary.16
|
|
764
|
-
|
|
765
|
-
## 6.0.2-canary.15
|
|
766
|
-
|
|
767
|
-
## 6.0.2-canary.14
|
|
768
|
-
|
|
769
|
-
## 6.0.2-canary.13
|
|
15
|
+
- [#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))
|
|
770
16
|
|
|
771
|
-
##
|
|
17
|
+
## 8.1.0-canary.14
|
|
772
18
|
|
|
773
|
-
|
|
19
|
+
### Patch Changes
|
|
774
20
|
|
|
775
|
-
|
|
21
|
+
- [`831d7cd`](https://github.com/graphcommerce-org/graphcommerce/commit/831d7cd64a40b7b58748fd9637199b88938e75b7) - Compatibility with Magento 2.4.7 ([@paales](https://github.com/paales))
|
|
776
22
|
|
|
777
|
-
##
|
|
23
|
+
## 8.1.0-canary.8
|
|
778
24
|
|
|
779
|
-
|
|
25
|
+
### Patch Changes
|
|
780
26
|
|
|
781
|
-
|
|
27
|
+
- [#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))
|
|
782
28
|
|
|
783
|
-
##
|
|
29
|
+
## 8.0.6-canary.2
|
|
784
30
|
|
|
785
|
-
|
|
31
|
+
### Patch Changes
|
|
786
32
|
|
|
787
|
-
|
|
33
|
+
- [#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))
|
|
788
34
|
|
|
789
|
-
|
|
35
|
+
- [#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))
|
|
790
36
|
|
|
791
|
-
|
|
37
|
+
- [#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))
|
|
792
38
|
|
|
793
|
-
##
|
|
39
|
+
## 8.0.0
|
|
794
40
|
|
|
795
|
-
|
|
41
|
+
### Patch Changes
|
|
796
42
|
|
|
797
|
-
|
|
43
|
+
- [#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))
|
|
798
44
|
|
|
799
|
-
##
|
|
45
|
+
## 7.0.1
|
|
800
46
|
|
|
801
|
-
|
|
47
|
+
### Patch Changes
|
|
802
48
|
|
|
803
|
-
|
|
49
|
+
- [#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))
|
|
804
50
|
|
|
805
|
-
##
|
|
51
|
+
## 7.0.0
|
|
806
52
|
|
|
807
|
-
|
|
53
|
+
### Patch Changes
|
|
808
54
|
|
|
809
|
-
|
|
55
|
+
- [#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))
|
|
810
56
|
|
|
811
|
-
|
|
57
|
+
- [#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))
|
|
812
58
|
|
|
813
|
-
|
|
59
|
+
- [#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))
|
|
814
60
|
|
|
815
61
|
## 6.0.0
|
|
816
62
|
|
|
@@ -822,130 +68,6 @@
|
|
|
822
68
|
|
|
823
69
|
- [#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))
|
|
824
70
|
|
|
825
|
-
## 6.0.0-canary.54
|
|
826
|
-
|
|
827
|
-
## 6.0.0-canary.53
|
|
828
|
-
|
|
829
|
-
## 6.0.0-canary.52
|
|
830
|
-
|
|
831
|
-
## 6.0.0-canary.51
|
|
832
|
-
|
|
833
|
-
## 6.0.0-canary.50
|
|
834
|
-
|
|
835
|
-
### Patch Changes
|
|
836
|
-
|
|
837
|
-
- [#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))
|
|
838
|
-
|
|
839
|
-
## 6.0.0-canary.49
|
|
840
|
-
|
|
841
|
-
## 6.0.0-canary.48
|
|
842
|
-
|
|
843
|
-
## 6.0.0-canary.47
|
|
844
|
-
|
|
845
|
-
## 6.0.0-canary.46
|
|
846
|
-
|
|
847
|
-
## 6.0.0-canary.45
|
|
848
|
-
|
|
849
|
-
## 6.0.0-canary.44
|
|
850
|
-
|
|
851
|
-
## 6.0.0-canary.43
|
|
852
|
-
|
|
853
|
-
### Minor Changes
|
|
854
|
-
|
|
855
|
-
- [#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))
|
|
856
|
-
|
|
857
|
-
## 6.0.0-canary.42
|
|
858
|
-
|
|
859
|
-
## 6.0.0-canary.41
|
|
860
|
-
|
|
861
|
-
## 6.0.0-canary.40
|
|
862
|
-
|
|
863
|
-
## 6.0.0-canary.39
|
|
864
|
-
|
|
865
|
-
## 6.0.0-canary.38
|
|
866
|
-
|
|
867
|
-
## 6.0.0-canary.37
|
|
868
|
-
|
|
869
|
-
## 6.0.0-canary.36
|
|
870
|
-
|
|
871
|
-
## 6.0.0-canary.35
|
|
872
|
-
|
|
873
|
-
## 6.0.0-canary.34
|
|
874
|
-
|
|
875
|
-
## 6.0.0-canary.33
|
|
876
|
-
|
|
877
|
-
## 6.0.0-canary.32
|
|
878
|
-
|
|
879
|
-
## 6.0.0-canary.31
|
|
880
|
-
|
|
881
|
-
## 6.0.0-canary.30
|
|
882
|
-
|
|
883
|
-
## 6.0.0-canary.29
|
|
884
|
-
|
|
885
|
-
## 6.0.0-canary.28
|
|
886
|
-
|
|
887
|
-
## 6.0.0-canary.27
|
|
888
|
-
|
|
889
|
-
## 6.0.0-canary.26
|
|
890
|
-
|
|
891
|
-
## 6.0.0-canary.25
|
|
892
|
-
|
|
893
|
-
## 6.0.0-canary.24
|
|
894
|
-
|
|
895
|
-
## 6.0.0-canary.23
|
|
896
|
-
|
|
897
|
-
## 6.0.0-canary.22
|
|
898
|
-
|
|
899
|
-
## 6.0.0-canary.21
|
|
900
|
-
|
|
901
|
-
## 6.0.0-canary.20
|
|
902
|
-
|
|
903
|
-
## 5.2.0-canary.19
|
|
904
|
-
|
|
905
|
-
## 5.2.0-canary.18
|
|
906
|
-
|
|
907
|
-
## 5.2.0-canary.17
|
|
908
|
-
|
|
909
|
-
## 5.2.0-canary.16
|
|
910
|
-
|
|
911
|
-
## 5.2.0-canary.15
|
|
912
|
-
|
|
913
|
-
## 5.2.0-canary.14
|
|
914
|
-
|
|
915
|
-
## 5.2.0-canary.13
|
|
916
|
-
|
|
917
|
-
## 5.2.0-canary.12
|
|
918
|
-
|
|
919
|
-
## 5.2.0-canary.11
|
|
920
|
-
|
|
921
|
-
## 5.2.0-canary.10
|
|
922
|
-
|
|
923
|
-
## 5.2.0-canary.9
|
|
924
|
-
|
|
925
|
-
## 5.2.0-canary.8
|
|
926
|
-
|
|
927
|
-
## 5.2.0-canary.7
|
|
928
|
-
|
|
929
|
-
## 5.2.0-canary.6
|
|
930
|
-
|
|
931
|
-
## 5.2.0-canary.5
|
|
932
|
-
|
|
933
|
-
## 5.2.0-canary.4
|
|
934
|
-
|
|
935
|
-
## 5.2.0-canary.3
|
|
936
|
-
|
|
937
|
-
## 5.2.0-canary.2
|
|
938
|
-
|
|
939
|
-
## 5.2.0-canary.1
|
|
940
|
-
|
|
941
|
-
## 5.2.0-canary.0
|
|
942
|
-
|
|
943
|
-
## 5.1.1
|
|
944
|
-
|
|
945
|
-
## 5.1.1-canary.1
|
|
946
|
-
|
|
947
|
-
## 5.1.1-canary.0
|
|
948
|
-
|
|
949
71
|
## 5.1.0
|
|
950
72
|
|
|
951
73
|
### Patch Changes
|
|
@@ -957,39 +79,6 @@
|
|
|
957
79
|
- Upgraded dependencies including type-fest and graphql-mesh
|
|
958
80
|
- Solved peer dependency issues ([@paales](https://github.com/paales))
|
|
959
81
|
|
|
960
|
-
## 5.1.0-canary.11
|
|
961
|
-
|
|
962
|
-
## 5.1.0-canary.10
|
|
963
|
-
|
|
964
|
-
## 5.1.0-canary.9
|
|
965
|
-
|
|
966
|
-
## 5.1.0-canary.8
|
|
967
|
-
|
|
968
|
-
## 5.1.0-canary.7
|
|
969
|
-
|
|
970
|
-
## 5.1.0-canary.6
|
|
971
|
-
|
|
972
|
-
## 5.1.0-canary.5
|
|
973
|
-
|
|
974
|
-
## 5.1.0-canary.4
|
|
975
|
-
|
|
976
|
-
## 5.1.0-canary.3
|
|
977
|
-
|
|
978
|
-
### Patch Changes
|
|
979
|
-
|
|
980
|
-
- [#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.
|
|
981
|
-
|
|
982
|
-
- Updated the @mui/material package
|
|
983
|
-
- Removed dependencies on react-hook-form-mui and @playwright/test
|
|
984
|
-
- Upgraded dependencies including type-fest and graphql-mesh
|
|
985
|
-
- Solved peer dependency issues ([@paales](https://github.com/paales))
|
|
986
|
-
|
|
987
|
-
## 5.1.0-canary.2
|
|
988
|
-
|
|
989
|
-
## 5.1.0-canary.1
|
|
990
|
-
|
|
991
|
-
## 5.1.0-canary.0
|
|
992
|
-
|
|
993
82
|
## 5.0.0
|
|
994
83
|
|
|
995
84
|
### Major Changes
|
|
@@ -1010,82 +99,12 @@
|
|
|
1010
99
|
|
|
1011
100
|
- [#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))
|
|
1012
101
|
|
|
1013
|
-
## 5.0.0-canary.14
|
|
1014
|
-
|
|
1015
|
-
## 5.0.0-canary.13
|
|
1016
|
-
|
|
1017
|
-
### Major Changes
|
|
1018
|
-
|
|
1019
|
-
- [`e4c7fe17e`](https://github.com/graphcommerce-org/graphcommerce/commit/e4c7fe17e413e37362ceae92e67f1b3a5f62d398) - Bump major version of all packages ([@paales](https://github.com/paales))
|
|
1020
|
-
|
|
1021
|
-
## 4.14.0-canary.12
|
|
1022
|
-
|
|
1023
|
-
## 4.14.0-canary.11
|
|
1024
|
-
|
|
1025
|
-
## 4.14.0-canary.10
|
|
1026
|
-
|
|
1027
|
-
## 4.14.0-canary.9
|
|
1028
|
-
|
|
1029
|
-
## 4.14.0-canary.8
|
|
1030
|
-
|
|
1031
|
-
## 4.14.0-canary.7
|
|
1032
|
-
|
|
1033
|
-
## 4.14.0-canary.6
|
|
1034
|
-
|
|
1035
|
-
## 4.14.0-canary.5
|
|
1036
|
-
|
|
1037
|
-
## 4.14.0-canary.4
|
|
1038
|
-
|
|
1039
|
-
### Minor Changes
|
|
1040
|
-
|
|
1041
|
-
- [#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))
|
|
1042
|
-
|
|
1043
|
-
### Patch Changes
|
|
1044
|
-
|
|
1045
|
-
- [#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))
|
|
1046
|
-
|
|
1047
|
-
- [#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))
|
|
1048
|
-
|
|
1049
|
-
## 4.14.0-canary.3
|
|
1050
|
-
|
|
1051
|
-
## 4.14.0-canary.2
|
|
1052
|
-
|
|
1053
|
-
### Patch Changes
|
|
1054
|
-
|
|
1055
|
-
- [#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))
|
|
1056
|
-
|
|
1057
|
-
- [#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))
|
|
1058
|
-
|
|
1059
|
-
## 4.13.2-canary.1
|
|
1060
|
-
|
|
1061
|
-
## 4.13.2-canary.0
|
|
1062
|
-
|
|
1063
|
-
## 4.13.3
|
|
1064
|
-
|
|
1065
|
-
## 4.13.2
|
|
1066
|
-
|
|
1067
|
-
## 4.13.1
|
|
1068
|
-
|
|
1069
|
-
## 4.13.1-canary.2
|
|
1070
|
-
|
|
1071
|
-
## 4.13.1-canary.1
|
|
1072
|
-
|
|
1073
|
-
## 4.13.1-canary.0
|
|
1074
|
-
|
|
1075
102
|
## 4.13.0
|
|
1076
103
|
|
|
1077
104
|
### Patch Changes
|
|
1078
105
|
|
|
1079
106
|
- [#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
|
|
1080
107
|
|
|
1081
|
-
## 4.13.0-canary.1
|
|
1082
|
-
|
|
1083
|
-
### Patch Changes
|
|
1084
|
-
|
|
1085
|
-
- [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
|
|
1086
|
-
|
|
1087
|
-
## 4.13.0-canary.0
|
|
1088
|
-
|
|
1089
108
|
## 3.6.9
|
|
1090
109
|
|
|
1091
110
|
### Patch Changes
|
|
@@ -2033,8 +1052,6 @@ All notable changes to this project will be documented in this file. See [Conven
|
|
|
2033
1052
|
|
|
2034
1053
|
## [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)
|
|
2035
1054
|
|
|
2036
|
-
## [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)
|
|
2037
|
-
|
|
2038
1055
|
### Bug Fixes
|
|
2039
1056
|
|
|
2040
1057
|
- 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,9 +1,10 @@
|
|
|
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
|
|
|
@@ -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
|
|
|
@@ -9,15 +9,11 @@ import {
|
|
|
9
9
|
ToggleButton,
|
|
10
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
18
|
import { usePaymentMethodContext } from '../PaymentMethodContext/paymentMethodContextType'
|
|
23
19
|
import { useCartLock } from '../hooks/useCartLock'
|
|
@@ -26,7 +22,7 @@ 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',
|
|
@@ -130,8 +126,8 @@ export function PaymentMethodToggles(props: PaymentMethodTogglesProps) {
|
|
|
130
126
|
hideScrollbar
|
|
131
127
|
tabIndex={0}
|
|
132
128
|
sx={{
|
|
133
|
-
gridAutoColumns:
|
|
134
|
-
gridTemplateRows:
|
|
129
|
+
gridAutoColumns: 'max-content',
|
|
130
|
+
gridTemplateRows: '100%',
|
|
135
131
|
gap: responsiveVal(4, 8),
|
|
136
132
|
height: responsiveVal(60, 85),
|
|
137
133
|
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-canary.
|
|
5
|
+
"version": "9.0.0-canary.103",
|
|
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-canary.
|
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.
|
|
17
|
-
"@graphcommerce/framer-scroller": "^9.0.0-canary.
|
|
18
|
-
"@graphcommerce/graphql": "^9.0.0-canary.
|
|
19
|
-
"@graphcommerce/image": "^9.0.0-canary.
|
|
20
|
-
"@graphcommerce/magento-cart": "^9.0.0-canary.
|
|
21
|
-
"@graphcommerce/magento-cart-shipping-address": "^9.0.0-canary.
|
|
22
|
-
"@graphcommerce/magento-store": "^9.0.0-canary.
|
|
23
|
-
"@graphcommerce/next-ui": "^9.0.0-canary.
|
|
24
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.
|
|
25
|
-
"@graphcommerce/react-hook-form": "^9.0.0-canary.
|
|
26
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.
|
|
15
|
+
"@graphcommerce/ecommerce-ui": "^9.0.0-canary.103",
|
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.103",
|
|
17
|
+
"@graphcommerce/framer-scroller": "^9.0.0-canary.103",
|
|
18
|
+
"@graphcommerce/graphql": "^9.0.0-canary.103",
|
|
19
|
+
"@graphcommerce/image": "^9.0.0-canary.103",
|
|
20
|
+
"@graphcommerce/magento-cart": "^9.0.0-canary.103",
|
|
21
|
+
"@graphcommerce/magento-cart-shipping-address": "^9.0.0-canary.103",
|
|
22
|
+
"@graphcommerce/magento-store": "^9.0.0-canary.103",
|
|
23
|
+
"@graphcommerce/next-ui": "^9.0.0-canary.103",
|
|
24
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.103",
|
|
25
|
+
"@graphcommerce/react-hook-form": "^9.0.0-canary.103",
|
|
26
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.103",
|
|
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'
|
|
2
|
+
import type { ApolloClient, NormalizedCacheObject } from '@graphcommerce/graphql'
|
|
3
3
|
import { fillCartAgreementsForm } from '@graphcommerce/magento-cart/test/fillCartAgreementsForm'
|
|
4
4
|
import { fillShippingAddressForm } from '@graphcommerce/magento-cart-shipping-address/test/fillShippingAddressForm'
|
|
5
|
-
import { Page } from '@playwright/test'
|
|
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}]`)
|