Compare commits

..

No commits in common. "cce916ca66b4f48084f442809d5419d7ba50c735" and "7a3ac8eef7c11616a313bb3ae94ebe548cc18589" have entirely different histories.

2 changed files with 3 additions and 1 deletions

View File

@ -9,4 +9,3 @@ CASHFREE_CLIENT_ID=#{CASHFREE_CLIENT_ID}#
CASHFREE_CLIENT_SECRET=#{CASHFREE_CLIENT_SECRET}#
GOOGLE_MAPS_API_KEY=#{GOOGLE_MAPS_API_KEY}#
FITLIENHOST=#{FITLIENHOST}#
CASHFREE_URL=#{CASHFREE_URL}#

View File

@ -403,7 +403,10 @@ export const createCashfreeOrder = onRequest({
}
const hashKey = `hash_${Date.now()}_${uid.substring(0, 1)}_${orderId}`;
let apiUrl = process.env.CASHFREE_URL;
try {
const cashfreeResponse = await axios.post(
apiUrl!,