Skip to content

Commit

Permalink
Remove mandate creds from cypress test file
Browse files Browse the repository at this point in the history
  • Loading branch information
cookieg13 committed Sep 19, 2024
1 parent 57315ef commit 0c1cf25
Showing 1 changed file with 0 additions and 103 deletions.
103 changes: 0 additions & 103 deletions cypress-tests/cypress/e2e/PaymentUtils/Novalnet.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,6 @@ const successfulThreeDSTestCardDetails = {
card_cvc: "123",
};

const multiUseMandateData = {
customer_acceptance: {
acceptance_type: "offline",
accepted_at: "1963-05-03T04:07:52.723Z",
online: {
ip_address: "125.0.0.1",
user_agent: "amet irure esse",
},
},
mandate_type: {
multi_use: {
amount: 100,
currency: "EUR",
},
},
};


export const connectorDetails = {
Expand Down Expand Up @@ -232,92 +216,5 @@ export const connectorDetails = {
},
},
},
//TODO: Add No3DSManualCapture, No3DSAutoCapture
// MandateMultiUseNo3DSManualCapture: {
// Request: {
// payment_method: "card",
// payment_method_data: {
// card: successfulNo3DSCardDetails,
// },
// currency: "USD",
// mandate_data: multiUseMandateData,
// },
// Response: {
// status: 200,
// body: {
// status: "requires_capture",
// },
// },
// },
MandateMultiUse3DSAutoCapture: {
Request: {
payment_method: "card",
payment_method_type: "credit",
billing: {
address: {
line1: "1467",
line2: "CA",
line3: "CA",
city: "Musterhausen",
state: "California",
zip: "12345",
country: "DE",
first_name: "Max",
last_name: "Mustermann"
},
email: "[email protected]",
phone: {
number: "9123456789",
country_code: "+91"
}
},
payment_method_data: {
card: successfulThreeDSTestCardDetails,
},
currency: "EUR",
mandate_data: multiUseMandateData,
},
Response: {
status: 200,
body: {
status: "requires_capture",
},
},
},
MandateMultiUse3DSManualCapture: {
Request: {
payment_method: "card",
payment_method_type: "credit",
billing: {
address: {
line1: "1467",
line2: "CA",
line3: "CA",
city: "Musterhausen",
state: "California",
zip: "12345",
country: "DE",
first_name: "Max",
last_name: "Mustermann"
},
email: "[email protected]",
phone: {
number: "9123456789",
country_code: "+91"
}
},
payment_method_data: {
card: successfulThreeDSTestCardDetails,
},
currency: "EUR",
mandate_data: multiUseMandateData,
},
Response: {
status: 200,
body: {
status: "requires_capture",
},
},
},
},
};

0 comments on commit 0c1cf25

Please sign in to comment.