#sagar_apps-events

1 messages ¡ Page 1 of 1 (latest)

dawn waveBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1229488324134305872

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

compact pumice
#

can i get the user_id form where the webhook was triggered ?
for now if i deploy the stirpe app in test mode and then triggering from different account then i am getting the account ID but not the user Id or any other details

tender tinselBOT
uneven frigate
#

Hey @compact pumice ! I'm sorry I'm going to need a bit more context and details around your question. What exact doc are you following? What is an example Event id evt_123 you are looking at?

compact pumice
#

sure you can refer to this event Id : evt_3P5tBVK2ZE4DIofl0Yukhl9k
I am creating a stripe apps which save the details of the payment but there occurs a situation where there are more than one user handling the same account i.e i cannot identify which i need to save the data if some extra field able to pass in webhoook it would be good

uneven frigate
#

sagar_apps-events

compact pumice
#

that i got it but is there any way to send some other key in the payment webhook ??

uneven frigate
#

I don't really understand what "some other key" could mean unfortunately. What exactly are you trying to send?

compact pumice
#

as i get the account id in the webhook event
can i get the user_id in the webhook ??

uneven frigate
#

what is "the user_id". Can you explain exactly what that means?

compact pumice
#

user id is the stripe id that is provided to every user has value like usr_123.

uneven frigate
#

I'm sorry I don't know what that could mean. The usr_123 id is something we never expose in the API usually and no one should need this

compact pumice
#

okay

uneven frigate
#

why are you trying to get that information?

compact pumice
#

actually i want to save some fields from the webhook data in a file and display to the user but what actually as one account can be handled by many user having different roles i am not getting a common field from which i can identify in which user file i can save the data got from the event.

uneven frigate
#

Gotcha, sadly it's impossible to know which specific user did what in the Dashboard, this is not surfaced anywhere

compact pumice
#

thanks for the info provided