@@ -153,6 +153,15 @@ export const connectorDetails = {
153
153
} ,
154
154
} ,
155
155
} ,
156
+ MITManualCapture : {
157
+ Request : { } ,
158
+ Response : {
159
+ status : 200 ,
160
+ body : {
161
+ status : "requires_capture" ,
162
+ } ,
163
+ } ,
164
+ } ,
156
165
Capture : {
157
166
Request : {
158
167
amount_to_capture : 6000 ,
@@ -487,10 +496,36 @@ export const connectorDetails = {
487
496
} ,
488
497
} ,
489
498
} ,
490
- PaymentMethodIdMandateNo3DSAutoCapture : {
491
- Configs : {
492
- TRIGGER_SKIP : true ,
499
+ PaymentIntentOffSession : {
500
+ Request : {
501
+ amount : 6000 ,
502
+ authentication_type : "no_three_ds" ,
503
+ currency : "USD" ,
504
+ customer_acceptance : null ,
505
+ setup_future_usage : "off_session" ,
506
+ } ,
507
+ Response : {
508
+ status : 200 ,
509
+ body : {
510
+ status : "requires_payment_method" ,
511
+ } ,
512
+ } ,
513
+ } ,
514
+ SaveCardConfirmAutoCaptureOffSession : {
515
+ Request : {
516
+ setup_future_usage : "off_session" ,
517
+ payment_method_data : {
518
+ card : successfulNo3DSCardDetails ,
519
+ } ,
520
+ } ,
521
+ Response : {
522
+ status : 200 ,
523
+ body : {
524
+ status : "succeeded" ,
525
+ } ,
493
526
} ,
527
+ } ,
528
+ PaymentMethodIdMandateNo3DSAutoCapture : {
494
529
Request : {
495
530
payment_method : "card" ,
496
531
payment_method_data : {
@@ -507,38 +542,43 @@ export const connectorDetails = {
507
542
} ,
508
543
} ,
509
544
} ,
510
- PaymentMethodIdMandateNo3DSManualCapture : {
545
+ SaveCardUseNo3DSAutoCaptureOffSession : {
511
546
Configs : {
512
- TRIGGER_SKIP : true ,
547
+ CONNECTOR_CREDENTIAL : {
548
+ specName : [ "connectorAgnosticNTID" ] ,
549
+ value : "connector_2" ,
550
+ } ,
513
551
} ,
514
552
Request : {
515
553
payment_method : "card" ,
554
+ payment_method_type : "debit" ,
516
555
payment_method_data : {
517
556
card : successfulNo3DSCardDetails ,
518
557
} ,
519
- currency : "USD" ,
520
- mandate_data : null ,
558
+ setup_future_usage : "off_session" ,
521
559
customer_acceptance : customerAcceptance ,
522
560
} ,
523
561
Response : {
524
562
status : 200 ,
525
563
body : {
526
- status : "requires_capture " ,
564
+ status : "succeeded " ,
527
565
} ,
528
566
} ,
529
567
} ,
530
- PaymentMethodIdMandate3DSAutoCapture : {
568
+ SaveCardUse3DSAutoCaptureOffSession : {
531
569
Configs : {
532
- // Skipping redirection here for mandate 3ds auto capture as it requires changes from the core
533
- TRIGGER_SKIP : true ,
570
+ CONNECTOR_CREDENTIAL : {
571
+ specName : [ "connectorAgnosticNTID" ] ,
572
+ value : "connector_2" ,
573
+ } ,
534
574
} ,
535
575
Request : {
536
576
payment_method : "card" ,
577
+ payment_method_type : "debit" ,
537
578
payment_method_data : {
538
579
card : successfulThreeDSTestCardDetails ,
539
580
} ,
540
- mandate_data : null ,
541
- authentication_type : "three_ds" ,
581
+ setup_future_usage : "off_session" ,
542
582
customer_acceptance : customerAcceptance ,
543
583
} ,
544
584
Response : {
@@ -548,51 +588,111 @@ export const connectorDetails = {
548
588
} ,
549
589
} ,
550
590
} ,
551
- PaymentMethodIdMandate3DSManualCapture : {
591
+ SaveCardUseNo3DSManualCaptureOffSession : {
592
+ Request : {
593
+ payment_method : "card" ,
594
+ payment_method_data : {
595
+ card : successfulNo3DSCardDetails ,
596
+ } ,
597
+ setup_future_usage : "off_session" ,
598
+ customer_acceptance : customerAcceptance ,
599
+ } ,
600
+ Response : {
601
+ status : 200 ,
602
+ body : {
603
+ status : "requires_capture" ,
604
+ } ,
605
+ } ,
606
+ } ,
607
+ SaveCardConfirmAutoCaptureOffSession : {
552
608
Configs : {
553
- TRIGGER_SKIP : true ,
609
+ CONNECTOR_CREDENTIAL : {
610
+ specName : [ "connectorAgnosticNTID" ] ,
611
+ value : "connector_2" ,
612
+ } ,
613
+ } ,
614
+ Request : {
615
+ setup_future_usage : "off_session" ,
616
+ } ,
617
+ Response : {
618
+ status : 200 ,
619
+ body : {
620
+ status : "succeeded" ,
621
+ } ,
622
+ } ,
623
+ } ,
624
+ SaveCardConfirmManualCaptureOffSession : {
625
+ Request : {
626
+ setup_future_usage : "off_session" ,
627
+ } ,
628
+ Response : {
629
+ status : 200 ,
630
+ body : {
631
+ status : "requires_capture" ,
632
+ } ,
633
+ } ,
634
+ } ,
635
+ SaveCardConfirmAutoCaptureOffSessionWithoutBilling : {
636
+ Request : {
637
+ setup_future_usage : "off_session" ,
638
+ billing : null ,
639
+ } ,
640
+ Response : {
641
+ status : 200 ,
642
+ body : {
643
+ status : "succeeded" ,
644
+ } ,
554
645
} ,
646
+ } ,
647
+ PaymentMethodIdMandateNo3DSManualCapture : {
555
648
Request : {
649
+ payment_method : "card" ,
556
650
payment_method_data : {
557
- card : successfulThreeDSTestCardDetails ,
651
+ card : successfulNo3DSCardDetails ,
558
652
} ,
653
+ currency : "USD" ,
559
654
mandate_data : null ,
560
- authentication_type : "three_ds" ,
561
655
customer_acceptance : customerAcceptance ,
562
656
} ,
563
657
Response : {
564
658
status : 200 ,
565
659
body : {
566
- status : "requires_customer_action " ,
660
+ status : "requires_capture " ,
567
661
} ,
568
662
} ,
569
663
} ,
570
- PaymentIntentOffSession : {
664
+ PaymentMethodIdMandate3DSAutoCapture : {
571
665
Request : {
572
- amount : 6000 ,
573
- authentication_type : "no_three_ds" ,
666
+ payment_method : "card" ,
667
+ payment_method_data : {
668
+ card : successfulThreeDSTestCardDetails ,
669
+ } ,
574
670
currency : "USD" ,
575
- customer_acceptance : null ,
576
- setup_future_usage : "off_session" ,
671
+ mandate_data : null ,
672
+ authentication_type : "three_ds" ,
673
+ customer_acceptance : customerAcceptance ,
577
674
} ,
578
675
Response : {
579
676
status : 200 ,
580
677
body : {
581
- status : "requires_payment_method " ,
678
+ status : "requires_customer_action " ,
582
679
} ,
583
680
} ,
584
681
} ,
585
- SaveCardConfirmAutoCaptureOffSession : {
682
+ PaymentMethodIdMandate3DSManualCapture : {
586
683
Request : {
587
- setup_future_usage : "off_session " ,
684
+ payment_method : "card " ,
588
685
payment_method_data : {
589
- card : successfulNo3DSCardDetails ,
686
+ card : successfulThreeDSTestCardDetails ,
590
687
} ,
688
+ mandate_data : null ,
689
+ authentication_type : "three_ds" ,
690
+ customer_acceptance : customerAcceptance ,
591
691
} ,
592
692
Response : {
593
693
status : 200 ,
594
694
body : {
595
- status : "succeeded " ,
695
+ status : "requires_customer_action " ,
596
696
} ,
597
697
} ,
598
698
} ,
0 commit comments