#alex_invoice-editable
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/1300509342885351506
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi
for the checkout process, i'm getting the subscription -> invoice -> payment intent, and use it during with stripe elements and custom code
Once an Invoice is finalized you can not edit/change it, it's mostly immutable at that point
because it's the first Invoice of the Subscription and it's always finalized before the payment can be attempted. That's basically the way it works really
any advice?
i can recreate the subscription, but in this case, we will loose all the shipping and payment information used during the checkout previously
So really I think the overall way you integrated needs to be revamped completely. You need to use a different flow called "deferred intent" where you render the UI and collect payment method details first and only create the Subscription and attempt payment after the customer is really ready to pay and you don't plan to modify the Invoice anymore
See: https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=subscription