#kun_webhooks
1 messages · Page 1 of 1 (latest)
👋 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/1275574741754843148
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- kun_webhooks, 1 hour ago, 27 messages
- kun_webhooks, 7 hours ago, 18 messages
api_version =
'2019-02-11'
created =
1724181508
data =
{object: {…}}
id =
'evt_1PpxZYFrwl37tCGiACPt2atI'
livemode =
false
object =
'event'
pending_webhooks =
2
request =
{id: 'req_xG0TK2sXQUpRYP', idempotency_key: '9a2a3a93-67f9-4ebf-98e1-a7aff494540d'}
type =
'customer.created'```
What I need is?
Once my subscription is changed
1 trail_end
2 Recurring payments "suceeded", "failed", "paused"
On these status I can change my customer internal database values
this is my question
any help please
Hi there, sorry for the delay. I'm not sure I understand your question
So, once a customer has signed up for a Subscription, you'd like to know how to get their email address and the related Subscription ID using Webhooks?
yes
did you see the req.body from thre webhook
and yes I need to get the subscription status as well for particular customer so I can do some logical taks on the base on subscription status
I looked at the Event details but this event is customer.created. The payload will only include information about the Customer that was just created, not the Subscription
I want to know. when I add and regsiter webhook URL to stripe dashboard
which event I should active so I can achieve my desire result
Furthermore on live and public url do I need some kind of signature verfication?
for instance i need to capture all these event.
I recommend reading through this first: https://docs.stripe.com/billing/subscriptions/webhooks
You likely want to listen for both customer.created (if you want more details about the customer other than just their ID) and customer.subscription.created for details about the Subscription
Furthermore on live and public url do I need some kind of signature verification?
We recommend using signatures to secure your endpoint, yes: https://docs.stripe.com/webhooks#verify-official-libraries
Another thing
on live mode Do I need signature verifiacastion
as I need it during local testing using stripe cli?
??
It's not required but it's a best practice/strongly recommended
It should be the same flow as what's outlined here except you'll use a different webhook signing secret (the one that corresponds to your live mode endpoint): https://docs.stripe.com/webhooks#verify-official-libraries