#useRef

1 messages ยท Page 1 of 1 (latest)

twin graniteBOT
sonic kernel
#

here is in test mode

lament kraken
#

Hi there ๐Ÿ‘‹ based on what you're showing, I don't think the 3DS challenge was completed so no payment attempt was made and therefore the payment attempt didn't fail.

sonic kernel
#

the exemple in dev it shows the 3ds challenge but we killed the app for test case

#

i am asking because we decrement our stock when the payment intent created and we send the secret to the client to confirm payment so we decrement our stock when the hook respond with success we confirm the payment else w increment out stock if we got a failure event

#

so in scenario like that we can't increment our stock again

lament kraken
#

Can you share the ID of the Payment Intent from livemode?

sonic kernel
#

sorry let me rephrease : i am asking because we decrement our stock when the payment intent created and we send the secret to the client to confirm payment and when the hook respond we increment out stock if we got a failure event

#

pi_3LcQb6HzY6Td5duF0CuWtW1q

#

here is the payment intent

#

the payment stated in requires_action status for 2 months

lament kraken
#

Yeah, the 3DS challenge wasn't completed, so no attempt was made to pay that Payment Intent (indicated by intent still being in a requires_action state).

#

Since no attempt was made, there was no attempt to either fail or succeed so no webhook was generated.

sonic kernel
#

so there is no expiration time for the requires action, this kinde of payment will stay for ever in this state ?

lament kraken
sonic kernel
#

thank you much @lament kraken