#dr-who_best-practices
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. Thank you for your patience!
โฑ๏ธ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.
๐ 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/1214597681264074823
๐ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
Hi ๐ I don't have specific recommendations regarding how long you should wait, but you should be wary of our rate limits and take that into account when determining your polling frequency:
https://docs.stripe.com/rate-limits
I'm asking because we've faced with issue when customer tap the card at the last second. In that case terminal starts processing, and when code trying to cancel action on it - it fails.
We've tried to cancel payment intent first but faced with similar problem when we can't cancel payment intent because it has processing status (or something like that)
Hm, do you try checking the state of the intent/reader before trying to cancel them?
Yes, we've tried to check intent state before canceling (but not a reader). Do you think we need to check reader status first?