#teeluxiii
1 messages ยท Page 1 of 1 (latest)
The scenario im trying to work with is that we want all subscriptions to have a billing cycle at the 1st of the month. If the trial is active, and the customer provides us a payment method, we want to have a prorated first invoice
But if i add that billing_cycle_anchor param, and they dont attach a payment method, it STILL creates the invoice which I dont want as i've passed the cancel option for the trial settings
My question is now, how would I work around that until that issue is fixed?
Hello ๐
Give me a few to look
The one workaround I can think of is to just void the invoice once the linked subscription trial has ended and the subscription has been deleted
Yeah that was my original thought, use webhooks to know if a subscription was cancelled, look at the previous status and if trialing, delete any invoices
Is there any timeline or issue to follow to see progress on when the original issue is fixed?
Unfortunately, don't have an ETA
For this case, there is no previous_attributes since its a deletion. On the subscription, is it guaranteed to have https://stripe.com/docs/api/subscriptions/object#subscription_object-ended_at equal to https://stripe.com/docs/api/subscriptions/object#subscription_object-trial_end when it ends due to an expired trial?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.