#Lanny
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
would you mind sharing the request ID? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_MxIkVvTrmANTjK
it's java
code does not reach this point
you need to create the invoice_items first
you missed .setDaysUntilDue(30L)
due date is not the same?
wait I'm double checking something
same error with daysUntilDue req_smRQTfgQZYCNqA
you need to specify https://stripe.com/docs/api/invoices/create#create_invoice-pending_invoice_items_behavior include so that the invoice will be created as a draft
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Oh you're still using an old Stripe API Version
which actually is not compatible with the guide
so with your API version you need to first create the invoice items
then create the invoice
1 more question
i create an invoice like this
InvoiceCreateParams invoiceCreateParams = InvoiceCreateParams.builder()
.addExpand("payment_intent")
...
.build();
but invoice.paymentIntent is null
why?
maybe there's nothing on that invoice so nothing to be paid
which invoice are we talking about here?
got it, thanks