Skip to content

Commit

Permalink
ci(cypress): fix adyen sofort in cypress (#6984)
Browse files Browse the repository at this point in the history
  • Loading branch information
likhinbopanna authored Jan 3, 2025
1 parent 60ed69c commit 8c4cd07
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cypress-tests/cypress/e2e/PaymentUtils/Adyen.js
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,9 @@ export const connectorDetails = {
Response: {
status: 200,
body: {
status: "requires_customer_action",
status: "failed",
error_code: "14_006",
error_message: "Required object 'paymentMethod' is not provided.",
},
},
},
Expand Down
21 changes: 21 additions & 0 deletions cypress-tests/cypress/e2e/PaymentUtils/Iatapay.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,27 @@ export const connectorDetails = {
},
},
},
No3DSFailPayment: {
Request: {
payment_method: "card",
payment_method_data: {
card: successfulNo3DSCardDetails,
},
customer_acceptance: null,
setup_future_usage: "on_session",
},
Response: {
status: 400,
body: {
error: {
type: "invalid_request",
message:
"Selected payment method through iatapay is not implemented",
code: "IR_00",
},
},
},
},
},
upi_pm: {
PaymentIntent: {
Expand Down

0 comments on commit 8c4cd07

Please sign in to comment.