#Bob the builder - events

1 messages · Page 1 of 1 (latest)

jovial zealot
#

Hello. There's unfortunately not a webhook event that will give you updates to the payment_intent metadata

light ember
#

Is there a better alternative to polling all payment intents and checking for changes?

jovial zealot
#

Is your application making a bunch of updates to it and needs to know each status change?

#

If not and you only need to know the final state, you could just listen for the capture event

light ember
#

There's another platform application that creates payments, and some time after it succeeds adds metadata to the payment intent

#

And we want to use that metadata to link some related data on our end.

#

It happens after a successful payment, so cant listen to succeeded event

#

An example pi_3Kb7RPC0An8qHgpm1QZxiLTW. Succeeded at 19:08:35, webhook was sent at 19:08:36 and payment intent was updated at 19:08:42

jovial zealot
#

Ah got it

#

You'll have to poll the API then

light ember
#

Oak kay. Thanks for the information, thats all.