#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/1356916335300313188
๐ 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.
- keval-mandalik_api, 1 hour ago, 12 messages
Hi, let me help you with this.
yes please
The PaymentIntent is created when the Invoice is finalized, not created.
yes so, let me walk you through my code I am attaching here
Wait, in you're request you're trying to attach a PaymentIntent to an Invoice?
please go through above code
not exactly creating invoice and finalizing it
Why are you sending a PaymentIntent ID yourself when creating an Invoice?
It doesn't seem like your code corresponds to the Request ID you shared.
req_fop4AkOHIhb4JE
this should match now to code please have look
one more issues here,
stripe is only creating payment intent when invoice get finalized, and when I am finalizing invoice, in payment intent object it's marking status of that transaction to canceled it's suppose to be marked as paid
I see there's a PaymentIntent ID when you finalize the Invoice req_kwKuu5eHb4Qf5a.
yes that paymentIntent Id I was able to find but that payment intent object marked as canceled status
that's the concerning for us as we are charging people and still they see transaction status as canceled
last 3 transaction that was created via invoice marked as canceled why so?
Hey are you still there!
I am wondering why you're calling the Pay method, but also sending the Invoice to the customer to pay for it?
What is the customer flow you envision with this?
so we already asked user to add their credit card details and bank account detail for future silent payment they just have to click on pay button, and from backend we are creating payment intent of that amount with payment method attached to it so stripe automatically collect bill for us user do not have to add card and bank detail over and again and again so for that resaon we have to send user invoice which is in paid status
just for the record between customer and our portal
If you want to send a payment confirmation, you should look at receipts - https://docs.stripe.com/receipts
Invoices are requests to pay, not a confirmation.
okay thanks will check that if that align with our client requirement or not