#HK6 - Payment Intent Responses

1 messages ยท Page 1 of 1 (latest)

worthy epoch
#

Hi ๐Ÿ‘‹
The transition between states asynchronously can happen on occasion. This is usually the result of an async card decline by the issuer (fraud detection, etc.). This is why we strongly recommend including webhook listeners in your integration

dire nexus
#

and if we don't receive the sync, we put the order pending until we get the async

#

Ok got it. So we can get different responses in sync and async

worthy epoch
#

Yes. Our payment flows mean we need to send a response back from the API request synchronously but card issuers can operate on timescales that just don't work with modern web technologies so we have to update the payment intent asynchronously as well.

dire nexus
#

all good

#

thanks

#

have a great weekend

worthy epoch
#

Happy to help ๐Ÿ™‚ ๐Ÿ‘

dire nexus
#

so

#

last question

#

for async

#

we listen to pi.succeeded

#

are there others?

#

pi.failed?

worthy epoch