From e6cb27a7145567fd7a89297adf886f9a5523978b Mon Sep 17 00:00:00 2001 From: hamed <15238-genius.ha@users.noreply.drupalcode.org> Date: Tue, 2 Dec 2025 15:03:27 +0330 Subject: [PATCH] refactor: remove unused frontend_address from payment payload in Paying component --- components/appointment/paying/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/appointment/paying/index.js b/components/appointment/paying/index.js index 18c97a4..8453e1e 100644 --- a/components/appointment/paying/index.js +++ b/components/appointment/paying/index.js @@ -46,8 +46,7 @@ function Paying({ setStep, appointmentId }) { const paymentPayload = { payment_method: selectedBank, bundle: "appointment", - entity_reference_id: appointmentId, - frontend_address: typeof window !== 'undefined' ? window.location.origin : '' + entity_reference_id: appointmentId }; const response = await request.postPayment(paymentPayload);