#keval-mandalik_api

1 messages ยท Page 1 of 1 (latest)

ornate coralBOT
#

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

quasi yarrow
#

Hi, let me help you with this.

tight totem
#

yes please

quasi yarrow
#

The PaymentIntent is created when the Invoice is finalized, not created.

tight totem
#

yes so, let me walk you through my code I am attaching here

quasi yarrow
#

Wait, in you're request you're trying to attach a PaymentIntent to an Invoice?

tight totem
tight totem
quasi yarrow
#

Why are you sending a PaymentIntent ID yourself when creating an Invoice?

quasi yarrow
tight totem
#

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

quasi yarrow
#

I see there's a PaymentIntent ID when you finalize the Invoice req_kwKuu5eHb4Qf5a.

tight totem
#

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!

quasi yarrow
#

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?

tight totem
#

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

quasi yarrow
tight totem
#

okay thanks will check that if that align with our client requirement or not