From 7a3ac8eef7c11616a313bb3ae94ebe548cc18589 Mon Sep 17 00:00:00 2001 From: DhanshCOSQ Date: Mon, 14 Apr 2025 05:01:21 +0530 Subject: [PATCH] Changes from http to https --- functions/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/src/index.ts b/functions/src/index.ts index 31300e9..8e4b6ef 100644 --- a/functions/src/index.ts +++ b/functions/src/index.ts @@ -403,7 +403,7 @@ export const createCashfreeOrder = onRequest({ } const hashKey = `hash_${Date.now()}_${uid.substring(0, 1)}_${orderId}`; - + let apiUrl = process.env.CASHFREE_URL; @@ -422,7 +422,7 @@ export const createCashfreeOrder = onRequest({ customer_phone: customerPhone }, order_meta: { - return_url: `http://${webHostUrl}?order_id=${orderId}&hash_key=${hashKey}&user_id=${userId}&gym_id=${gymId}#/payment-status-screen`, + return_url: `https://${webHostUrl}?order_id=${orderId}&hash_key=${hashKey}&user_id=${userId}&gym_id=${gymId}#/payment-status-screen`, }, order_note: productInfo || 'Fitlien Membership' },