#nitewalker-j_paynow-action-required
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/1409558991289450577
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
What do you mean by expires exactly?
https://support.stripe.com/questions/paynow-faq#:~:text=The customer has,customer to pay.
As mentioned here, the QR code does not last indefinitely.
If a customer tries to pay after it expires, it will fail.
So I'm trying to see if there is some sort of handling provided by Stripe SDK
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
My system already has a PayNow payment integration, but with another provider.
Planning to migrate to another provider which Stripe is under consideration.
So I know there is an expiration but on Stripe's documentation is quite obscure.
I expect this will work by the payment intent reverting from requires_action to requires_payment_method after that expiry then, and you'd need to re-confirm the payment to get it back in the requires_action status (which should include a fresh QR code)
I do suggest testing this though
So likely I will have to handle this edge case myself?
Hi ๐
I'm stepping in as my colleague needs to go soon
I recommend you test this yourself, as my colleague suggested. We have a specific Stripe.js method for handling payments that have a status of requires_action. The handleNextAction function should take care of this for you
Hmm alright... Thanks