#ironbeard - webhooks
1 messages ยท Page 1 of 1 (latest)
Hello! Just starting a thread for you -- I'll review and respond as soon as I can ๐
No worries, take your time ๐
What makes this seem strange to you?
Well, I guess I was wondering what the asctual status of the PI is, since I only have it saved locally as "Requires confirmation". Also I noticed there isn't a payment_intent_updated webhook, so I wasn't sure how I was suppose to know when the status of a PaymentIntent changes
Also the strange part was that the docs say I wouldn't really see the "Requires Confirmation" status
So that was created by this subscription creation requests here, associated with the first invoice: https://dashboard.stripe.com/test/logs/req_1UNCbvn9q0zMjt
The events for payment intents are more explicit. The relevant one were would be payment_intent.succeeded: https://stripe.com/docs/api/events/types#event_types-payment_intent.succeeded
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Right, so creation of the Subscription creates the PaymentIntent via the first invoice. Is invoice_updated sent when a PaymentIntent changes status? or should I listen for all the possible PaymentIntent webhooks if I want to keep my local copy of the PaymentIntent sync'd up with Stripe?
For what purpose? You can listen to all of those, but we recommend only listening to events you need for your business/operations
hmm, yeah. I guess it would be for debugging purposes, to be able to check in our database and see where something went wrong, But I guess that's all possible in the Stripe dashboard.
Yeah, I suppose I shouldn't worry about tracking PaymentIntents in my database. Cool cool, thanks for the help walking thru this!