phonepe #48
@ -154,11 +154,11 @@ export const phonePeWebhook = onRequest({
|
|||||||
|
|
||||||
logger.info(`Fetching user data for userId: ${userId}`);
|
logger.info(`Fetching user data for userId: ${userId}`);
|
||||||
const userDoc = await admin.firestore()
|
const userDoc = await admin.firestore()
|
||||||
.collection('users')
|
.collection('client_profiles')
|
||||||
.doc(userId)
|
.doc(userId)
|
||||||
.get();
|
.get();
|
||||||
if (userDoc.exists) {
|
if (userDoc.exists) {
|
||||||
logger.info(`User data retrieved successfully for userId: ${userId}`);
|
logger.info(`User data retrieved successfully for userId(Client): ${userId}`);
|
||||||
|
|
||||||
logger.info(`Starting invoice generation process for payment: ${payload.merchantOrderId}`);
|
logger.info(`Starting invoice generation process for payment: ${payload.merchantOrderId}`);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user