#dev-josue_docs
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/1333725970674221066
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- dev-josue_docs, 6 days ago, 5 messages
- dev-josue_docs, 6 days ago, 7 messages
*I logged the response when creating invoice and the payment intent property is null. But when I retrieve the invoice, it the payment intent is not null.
๐ happy to help
the payment intent gets created only once the invoice is finalized
Hello @simple python , thanks for the response.
What I want to achieve is that when invoice is mark as uncollectible, i want its payment intent to be cancelled. Is there a automatic way to this?
Current approach:
- call mark as uncollectible invoice api endpoint
- call cancel payment intent api endpoint
Is there a safer way to this given the payment intent is null for n period before invoice is finalized?
Is there a automatic way to this?
unfortunately not
because we assume that any invoice (even the ones considered uncollectible can still be paid
instead you can void the invoice which automatically cancels the PI if you prefer
Is there a safer way to this given the payment intent is null for n period before invoice is finalized?
I'm not sure what you mean by this
unfortunately not
because we assume that any invoice (even the ones considered uncollectible can still be paid
instead you can void the invoice which automatically cancels the PI if you prefer
I see thanks for the info.
You may disregard my second query. It is already answered. Thanks.