#kun_webhooks

1 messages · Page 1 of 1 (latest)

valid daggerBOT
#

👋 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.

shrewd girderBOT
#

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.

jaunty elk
#
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

glass wing
#

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?

jaunty elk
#

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

glass wing
#

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

jaunty elk
#

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.

glass wing
#

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

jaunty elk
#

Another thing

#

on live mode Do I need signature verifiacastion
as I need it during local testing using stripe cli?

#

??

glass wing
#

It's not required but it's a best practice/strongly recommended

jaunty elk
#

any article related how can I hanlde the signatures in live mode

#

for the webhooks

glass wing
jaunty elk
#

Thanks I think using these two Articles I can fix my problems insha ALLAH

#

thanks brother have a nice day