From d628cdbd770f3ee5bfc1f4887bbe52800c4aa80b Mon Sep 17 00:00:00 2001 From: mortezaei Date: Wed, 19 Aug 2026 04:29:13 +0330 Subject: [PATCH] fix: correct app_name parameters, adjust SSR fetch timeouts and logging, and update payment UI label --- src/app/new-match/new-match-client.tsx | 2 +- src/hooks/marriage/use-habcoin-payment.ts | 3 ++- src/hooks/marriage/use-validate-discount.ts | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/new-match/new-match-client.tsx b/src/app/new-match/new-match-client.tsx index df0630a..2aff24c 100644 --- a/src/app/new-match/new-match-client.tsx +++ b/src/app/new-match/new-match-client.tsx @@ -884,7 +884,7 @@ export default function NewMatchClient() { ) : ( <> - {t["Pay"] || "Pay"} + {t["Payment"] || "Payment"} = { token: getSecurityToken(), service: HABCOIN_PAY_SERVICE, - app_name: HABCOIN_PAY_SERVICE, + app_name: HABCOIN_PAY_APP_NAME, object_id: objectId, }; diff --git a/src/hooks/marriage/use-validate-discount.ts b/src/hooks/marriage/use-validate-discount.ts index ca1f2b8..aef32e2 100644 --- a/src/hooks/marriage/use-validate-discount.ts +++ b/src/hooks/marriage/use-validate-discount.ts @@ -31,6 +31,7 @@ export async function validateDiscountCode({ const { data } = await http.post("/habcoin/validate-discount/", { code, service, + app_name: "marriage", object_id: objectId, });