*sigh* It doesn't look like @stripe's invoices are safe for creating one-off invoices on a payment form.
It would have been nice to create an invoice, pay it, then just tell Stripe to send a "paid" invoice afterwards so the customer has a record.
Thanks for your feedback here—you can set the auto_advance property to false to disable the invoice from finalizing automatically which will allow you to add additional items to ithttps://stripe.com/docs/billing/invoices/workflow#toggle-auto-advance …
-
-
I already did that, I got an error saying there were no charges, suggesting an empty invoice can't be created. But as i understand if I create an invoice item first but have an error before creating the invoice and tell the user it failed. The invoice item will still post later.
-
Yep, you would need to create an invoice item first—you can delete the invoice item if needed: https://stripe.com/docs/api/invoiceitems/delete …
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.