#kevin_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1337150265064816673
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
(using the Ruby gem)
Hi there ๐ the intent will remain in a requires_action state until the necessary customer action is completed. It will not move out of that state if no action is taken.
requires_action is the state used to indicate that customer action is required for the intent to continue progressing through its lifecycle
https://docs.stripe.com/payments/paymentintents/lifecycle
thanks, so we mistakenly believed that all payments would succeed or fail
looks like some payments will forever be in "limbo"
thanks for getting back to me
this isn't documented anywhere
just fyi
"this" = "a payment may never succeed or fail, and forever be in a state of 'requires_action'"
Thanks for that feedback!
The guide I linked to indicates that the intents don't go into a processing state until the required actions are handled. Can you share which of our guides you were following that didn't indicate you need to handle the customer action for requires_action intents? So I can review and see if that guide needs to be flagged for improvement.
that's not what I'm saying... I'm saying that nowhere does Stripe say that a payment may never leave "requires_action" and thus never succeed or fail
it's implied by the railroad diagram, but it's not explicitly stated anywhere
it would be good as a dev to know that payments may never succeed or fail
I'm aware of the need to handle the "requires_action" state... I assumed after a period of time (e.g. a day?) Stripe would fail the payment
if you make this info explicit, it'll help people and avoid this conversation happening again
whatever works for you ๐
thanks for the info