#kibbas
1 messages · Page 1 of 1 (latest)
Invoices create their own payment intents. So you can create an invoice and use its payment intent
Unfortunately you cannot associate them after the fact
Ok, but when I create an invoice via the api.
Example: https://dashboard.stripe.com/test/logs/req_PjPFFkBeolKM7w
There is no "payment_intent" that is created
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Did you finalize the invoice or is it still in a draft state?
It's still in draft form
Gotcha then you can use this call https://stripe.com/docs/api/invoices/finalize
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Once the invoice is finalized it will have a payment intent
You can also have invoices auto-finalize after an hour if that makes more sense
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I have another question. I'm using "Order Api" right now.
Can I substitute with this other method?
That's to say :
Create an invoice, finalize it and pay the invoice.
Is this the correct method?
Are you following a specific doc with the orders API? If so would you mind linking it?
We have a legacy orders API and a newer one though I thought that one got deprecated too
We were doing a specific development. We create an order, we modify it. Then we get the secret client. Front-end side, we used Order JS (https://stripe.com/docs/js/orders)
Gotcha, we actually don't know much about that beta on this server. When you got added to the beta you did you get an email to contact with questions about the beta? Usually for beta support you have to reach out to that email