#nt_api

1 messages ยท Page 1 of 1 (latest)

fallow sapphireBOT
#

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

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

serene relic
#

๐Ÿ‘‹ happy to help

#

I'm most certain it's a concurrency issue

#

basically you've sent the /void request before the invoice status changed to requires_payment_method

#

would you mind elaborating on the flow? this could help us narrow down the issue

patent viper
#

Sorry do you mean the payment intent? The invoice does not have such a status.

The workflow is that we normally go to purchase a subscription with the always authenticate test card and we intentionally fail the 3DS challenge. After that we have a mechanism to manually void the subscription's invoice.

#

This started failing today and we can only void the invoice in this case after 3-4 minutes have passed.

patent viper
#

When we try to void the invoice, the payment intent has the status requires_payment_method and the invoice has the open status. (we intentionally retrieve both objects again from stripe)

serene relic
#

sorry I might need a few minutes. We just received a similar issue from a separate user

patent viper
#

Ok will keep an eye on this thread.

serene relic
#

if you don't mind, I think this is best handled async. in a minute you will receive a DM with a link to open a ticket directly with our team. please add as much information as posible

#

and someone will get back to you as soon as possible