#jaz-webhook
1 messages · Page 1 of 1 (latest)
hi! the status of the PaymentIntent object is just the status of the payment, it doesn't say anything about whether any webhooks relating to that have been send or arrived successfully on your server or so on
in general the way I'd approach this is that on the frontend, you can see that the PaymentIntent is succeeded and show a 'thank you for your payment'/order summary page etc, moving to the next step in your checkout flow; and on the backend you only email the user/ship your product etc when you get the webhook.
Thanks for your response! The thing is the final step in our payment flow requires the backend to re-send the information about the payment in our system, and I think maybe we are having a kind of race condition between the Stripe webhook notification and the frontend receiving the internal payment info from the backend. The stripe API offers any endpoint to get the webhook status of a particular event If I have only access to the payment intent object?