#MilesBec
1 messages ยท Page 1 of 1 (latest)
Hello ๐
You may need to create an invoice item first in-order to invoice the customer
hold on, there's a way to create an empty invoice too
You can set pending_invoice_item_behavior while creating an invoice to exclude
which would create an empty invoice
https://stripe.com/docs/api/invoices/create#create_invoice-pending_invoice_items_behavior
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
From I can see of the invoice item options, it's expecting Invoice id to be referenced
I'll give that a try
That seems to have worked, I at least am not getting errors in the code
Yup, now you can create invoice items for the invoice
We're not seeing the invoice created in our stripe portal. In the logs I only see the errors from "Noting to invoice for customer"
If I'm in test mode will I not see that in the stripe dashboard?
I believe you'd typically see it under draft invoices
https://dashboard.stripe.com/test/invoices?status=draft
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
We found it, thank you for your help hanzo
Awesome! Happy to help ๐