#eoghanobrien_webhooks

1 messages ¡ Page 1 of 1 (latest)

valid aspenBOT
#

👋 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/1267973336986816592

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

dry radish
#

Hi there

gloomy silo
#

Hi

dry radish
#

Ah, I think in this case we don't actually create the invoice so the only events to look out for are charge.failed and payment_intent.payment_failed

gloomy silo
#

and payment_intent.canceled I guess

#

that's strange though because it starts off with the context of the subscription but loses that context as it processes payment

#

I just wanted to confirm that there's nothing else I can do to get that context back

dry radish
gloomy silo
#

So in that case what would I be inspecting the pending_hash for exactly? To see if it changed?

dry radish
#

The pending_update hash would include details about the changes you tried to make but are now "pending" until a payment succeeds