phonepe #62
@ -154,11 +154,11 @@ export const phonePeWebhook = onRequest({
|
||||
|
||||
logger.info(`Fetching user data for userId: ${userId}`);
|
||||
const userDoc = await admin.firestore()
|
||||
.collection('users')
|
||||
.collection('client_profiles')
|
||||
.doc(userId)
|
||||
.get();
|
||||
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}`);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user