From 5609c12e79d99dba0966a8db0559a7c52a5803e0 Mon Sep 17 00:00:00 2001 From: preetamrevankar Date: Tue, 8 Oct 2024 19:38:10 +0530 Subject: [PATCH] refactor: added customer id --- cypress-tests/cypress/e2e/stripe-3ds-test.cy.ts | 1 + cypress-tests/cypress/e2e/stripe-Manualcapture-test.cy.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/cypress-tests/cypress/e2e/stripe-3ds-test.cy.ts b/cypress-tests/cypress/e2e/stripe-3ds-test.cy.ts index 300f3c0e..5a64ad3e 100644 --- a/cypress-tests/cypress/e2e/stripe-3ds-test.cy.ts +++ b/cypress-tests/cypress/e2e/stripe-3ds-test.cy.ts @@ -13,6 +13,7 @@ describe("Card payment flow test", () => { "#orca-payment-element-iframeRef-orca-elements-payment-element-payment-element"; changeObjectKeyValue(createPaymentBody,"authentication_type","three_ds") + changeObjectKeyValue(createPaymentBody,"customer_id","new_user") beforeEach(() => { diff --git a/cypress-tests/cypress/e2e/stripe-Manualcapture-test.cy.ts b/cypress-tests/cypress/e2e/stripe-Manualcapture-test.cy.ts index 843e6c85..bf1430dc 100644 --- a/cypress-tests/cypress/e2e/stripe-Manualcapture-test.cy.ts +++ b/cypress-tests/cypress/e2e/stripe-Manualcapture-test.cy.ts @@ -13,6 +13,7 @@ describe("Card payment flow test", () => { "#orca-payment-element-iframeRef-orca-elements-payment-element-payment-element"; changeObjectKeyValue(createPaymentBody,"capture_method","manual") + changeObjectKeyValue(createPaymentBody,"customer_id","new_user") beforeEach(() => {