diff --git a/cypress-tests/cypress/e2e/PaymentUtils/Cybersource.js b/cypress-tests/cypress/e2e/PaymentUtils/Cybersource.js index 2685624a5f5..e97873abd66 100644 --- a/cypress-tests/cypress/e2e/PaymentUtils/Cybersource.js +++ b/cypress-tests/cypress/e2e/PaymentUtils/Cybersource.js @@ -90,6 +90,24 @@ const payment_method_data_3ds = { billing: null, }; +const billing_with_newline = { + address: { + line1: "1467", + line2: "Harrison Street\nApt 101", + line3: "Harrison Street\nApt 101", + city: "San Fransico\n city", + state: "California", + zip: "94122", + country: "NL", + first_name: "joseph", + last_name: "Doe", + }, + phone: { + number: "9123456789", + country_code: "+91", + }, +}; + export const connectorDetails = { card_pm: { PaymentIntent: { @@ -189,23 +207,7 @@ export const connectorDetails = { currency: "USD", customer_acceptance: null, setup_future_usage: "on_session", - billing: { - address: { - line1: "1467", - line2: "Harrison Street\nApt 101", - line3: "Harrison Street\nApt 101", - city: "San Fransico\n city", - state: "California", - zip: "94122", - country: "NL", - first_name: "joseph", - last_name: "Doe", - }, - phone: { - number: "9123456789", - country_code: "+91", - }, - }, + billing: billing_with_newline, }, Response: { status: 200,