Changes from http to https

This commit is contained in:
Dhansh A S 2025-04-14 05:01:21 +05:30
parent 02de6c1992
commit 7a3ac8eef7

View File

@ -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'
},