#keval-mandalik_api
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/1356894577566416936
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
You are correct that you can't connect those objects after created
You can only create an Invoice first, then use the PaymentIntent generated from it
so you saying that, I can connect that invoice with payment intent object using invoice id right?
More explicitly, an Invoice will automatic generate a PaymentIntent for you
got your point there,
but we are saving users payment methods like card detail and bank account info for future payment so what if that payment intent is got failed?
still that invoice will be sent to user with status of failed?
Invoice has 2 modes: charge_automatically or send_invoice. If it's charge_automatically, it won't be sent
So I have to change the flow off application to creating payment intent first to create invoice first and let stripe to take care about generating payment intent to connect both object right?
Yeah. You can easily test it in Test mode