#ujwal_webhooks
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1252191205220024360
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
These are the events recorded.
2 of them has webhooks
no of it shows the webhooks I recently added.
But the data was received without email Id of the Subscriber.
I am adding pabbly webhook
would you mind sharing the event ID?
evt_1PSbvmGCrUuSimJTSjn71sZ3
evt_1PSbvoGCrUuSimJT935ms7p6
evt_1PSbvpGCrUuSimJTnROM7oSs
evt_1PSbvqGCrUuSimJTSAz4ObM7
ok can you tell me what's the issue in each one of these?
what are you expecting? and what's missing?
I am not exactly sure which event ID corresponds to customer.subscription.created even.
I am trying to configure it to send the data to pabbly webhook and the packet doesn't contain the subscriber email ID.
ok wait
I am expecting to get the subscriber email ID on the webhook packet to automate further.
the object you receive in the customer.subscription.created is the subscription object
the customer email is on the customer object
you need to retrieve the customer
so you get the ID from the subscription.customer and pass it to the https://docs.stripe.com/api/customers/retrieve API
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thank you so much for this suggestion.
Just a question. Does subscription object has any data we can use to retrieve the customer data?
Is this how customer ID looks Like?
cus_QJELv10Ue2AWOS
yes
I have got the email.
Thank you so much.
Can you also share if stripe offers a unique URL where my subscribed customers can manage their own subscription or cancell it. I mean some kind of unique page which they can have access to.