#teeluxiii
1 messages · Page 1 of 1 (latest)
Hi there 👋 can you elaborate a bit on what you're seeing? Are you seeing an Invoice being created for the billing period after the trial? Or are you referring to the Invoice that is created for the trial period with an amount of 0?
Im seeing an invoice created for the remaining billing period when a payment method has not been attached yet
in_1Nf6f2KjI0M1O6BOA6aHfInH
the request to create the trial subscription req_sKY3rkyAqYsTRs
Ah I see, thank you for that clarification. I'm not certain offhand whether it is expected for an Invoice to still be created when using the cancel option there, but I do see the Subscription was cancelled after the trial period.
Correct, but in the docs, you specify create_invoice when the trial ends to create an invoice. I'm passing in cancel which only mentions Cancel the subscription if a payment method is not attached when the trial ends.
its cancelling it just fine, but i explicitely chose the option to not create an invoice, yet one is generated?
I'm not sure offhand whether it's expected for that option to avoid creating an Invoice, will check with my teammates so we can flag if this is unexpected. If it is expected, I'd also be willing to capture your feedback that you'd prefer for it to behave differently.
My teammate is taking a closer look at this.
They weren't immediately able to reproduce the behavior you're seeing, and our theory is that it's because you are passing an adjusted billing_cycle_anchor that they weren't. If you omit the billing_cycle_anchor parameter when creating your Subscription, does it then behave the way you're expecting?