#やまだ えしら
1 messages · Page 1 of 1 (latest)
hi! you can't really, that's just how our Subscriptions API works. What is the reason/problem with the $0 invoice causes you?
Okay, I understand that point.
We are assembling our application using the invoice.paid event. However, the auto-generated invoice when a trial is granted is disturbing.
I don't think it is a good idea to make the Invoice ignore when the Invoice is zero. At the moment I am considering to ignore invoice.paid if the Customer is trialing at the time of invoice.paid, but I would like to know if there is a better way.
not really no, that seems like a sensible approach. You can also check if the billing_reason on the Invoice is subscription_create. https://stripe.com/docs/api/invoices/object#invoice_object-billing_reason
Ok, thank you!