#ironbeard_webhooks

1 messages ยท Page 1 of 1 (latest)

lime surgeBOT
#

๐Ÿ‘‹ 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/1232308530774544434

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

copper hareBOT
uncut mason
#

hi there!

half cloak
#

heyo ๐Ÿ™‚

uncut mason
#

Did this event get renamed or is there something else I should be aware of?
no that event still exist

#

can you share a PaymentIntent ID (pi_xxx) or Charge ID (ch_xxx) where you didn't receive the webhook event?

half cloak
#

in_1P7zgLCoTIfwbn2891jjPG2x is the invoice, which I got the webhook for and created on my end, but I don't have the charge associated with it

#

let me try to find the charge id

#

pi_3P80ctCoTIfwbn280x8oZqxz

uncut mason
#

thanks! give me a few minutes to look into this.

half cloak
#

I did get the PaymentIntent webhook (and object created on my side)

uncut mason
#

and your server returned a 200 status, so it means you did receive that event.

half cloak
#

Hmm, good eye

#

I guess I'll have to dig around my webhook view and see. Thanks for the heads up!

uncut mason
#

happy to help ๐Ÿ™‚

half cloak
#

So, It's been forever since I wrote this code lol

#

When I get a charge_succeeded webhook, it looks like my code first uses the Stripe API to retrieve the associated BalanceTransaction and create that on my end, and then creates the Charge object.

#

Is it possible that a Charge might not have a BalanceTransaction associated with it at the time of the webhook event?

#

Yeah, looks like it created the BalanceTransaction for the Charge ๐Ÿคท

#

Welp, I resent the event and it worked properly, creating the Charge on my end. ๐Ÿคท

uncut mason
half cloak
#

you're referring to the automatic_async line?

uncut mason
#

yes

half cloak
#

Thanks, I'll look into that. Have a good one!

#

Do you know how I can get a list of all charge.succeeded event webhooks that have been sent?

uncut mason
half cloak
#

Are you familiar with the new Workbench dashboard? I just signed up for it and I'm able to filter for charge.succeeded events, but the oldest one is April 12, 2023 and I have some going back to Jan 2023

uncut mason
#

we only store events for 30 days.

#

so you won't be able to find events older than 30 days in the API or the dashboard

half cloak
#

Huh. The Workbench is definitely showing events from e.g. April 12, 2023

uncut mason
#

here on Discord we are not very familiar with the dashboard, sorry.

half cloak
#

yeah, figured it was different teams. All good ๐Ÿ™‚ Have a great day, I'll be good from here

uncut mason
#

happy to help ๐Ÿ™‚