#dr-who_best-practices

1 messages ยท Page 1 of 1 (latest)

verbal flaxBOT
#

๐Ÿ‘‹ 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.

cursive idolBOT
bleak lava
#

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

slim bloom
#

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)

bleak lava
#

Hm, do you try checking the state of the intent/reader before trying to cancel them?

slim bloom
#

Yes, we've tried to check intent state before canceling (but not a reader). Do you think we need to check reader status first?