user level variable value present from the start
# 🤝help
l
Copy code
if (!event.tags.conversation['whatsapp:userPhone']) {
  user.phoneNumber = 'NoWA'
} else {
  user.phoneNumber = event.tags.conversation['whatsapp:userPhone']
  user.customerName = event.tags.user['whatsapp:name']
}
console.log('RazorPay Link ', user.paymentlink)
even before the bot started, user.paymentlink has a value. See log below > [flow:Main] [node:Add_Stuff_Here] [card:Assigns a WhatsApp user's phone number and name to a user object]: RazorPay Link https://rzp.io/i/tZhfY3k9F Any idea why this is happening? https://cdn.discordapp.com/attachments/1247202862312849501/1247202862686146691/image.png?ex=665f2bae&is=665dda2e&hm=f900630d544c44cd5ffd08ffe6c4a9b6f646512af95e2a46d402762757581e86&
4 Views