File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
cypress-tests/cypress/e2e/configs/Payment Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 1
- import {
2
-
3
- cardRequiredField ,
4
-
5
- } from "./Commons" ;
1
+ import { cardRequiredField } from "./Commons" ;
6
2
7
3
// ============================================================================
8
4
// AUTHIPAY CYPRESS TEST CONFIGURATION (SIMPLIFIED)
@@ -53,7 +49,6 @@ const billingAddress = {
53
49
// ===== PAYMENT METHOD DATA =====
54
50
55
51
const payment_method_data = {
56
-
57
52
card : {
58
53
last4 : "0083" ,
59
54
card_type : null ,
@@ -312,13 +307,14 @@ export const connectorDetails = {
312
307
error : {
313
308
type : "invalid_request_error" ,
314
309
code : "processing_error" ,
315
- message : "You cannot cancel this PaymentIntent because it has a status of succeeded." ,
310
+ message :
311
+ "You cannot cancel this PaymentIntent because it has a status of succeeded." ,
316
312
} ,
317
313
} ,
318
314
} ,
319
315
} ,
320
316
321
- // Void after confirm (manual capture scenario)
317
+ // Void after confirm (manual capture scenario)
322
318
// This should work for payments in "requires_capture" state
323
319
VoidAfterConfirm : {
324
320
Request : {
@@ -357,8 +353,9 @@ export const connectorDetails = {
357
353
body : {
358
354
error : {
359
355
type : "invalid_request_error" ,
360
- code : "IR_16" ,
361
- message : "You cannot cancel this payment because it has status succeeded." ,
356
+ code : "IR_16" ,
357
+ message :
358
+ "You cannot cancel this payment because it has status succeeded." ,
362
359
} ,
363
360
} ,
364
361
} ,
You can’t perform that action at this time.
0 commit comments