diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/.DS_Store differ diff --git a/functions/.env.example b/functions/.env.example index d78480a..0a823da 100644 --- a/functions/.env.example +++ b/functions/.env.example @@ -11,3 +11,4 @@ GOOGLE_MAPS_API_KEY=#{GOOGLE_MAPS_API_KEY}# FITLIENHOST=#{FITLIENHOST}# CASHFREE_URL=#{CASHFREE_URL}# CASHFREE_LINK_URL=#{CASHFREE_LINK_URL}# +CASHFREE_LINK_NOTIFY_URL=#{CASHFREE_LINK_NOTIFY_URL}# diff --git a/functions/src/index.ts b/functions/src/index.ts index 78a31d9..1ccb811 100644 --- a/functions/src/index.ts +++ b/functions/src/index.ts @@ -561,6 +561,9 @@ export const createCashfreeLink = onRequest({ "order_id": orderId, "gym_id": gymId, "user_id": userId + }, + "link_meta": { + "notify_url": process.env.CASHFREE_LINK_NOTIFY_URL } }; console.log(`Body: ${JSON.stringify(requestBody)}`);