#.juchom
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- juchom-subscriptions, 2 days ago, 10 messages
- .juchom, 2 days ago, 6 messages
- .juchom, 2 days ago, 27 messages
- .juchom, 3 days ago, 4 messages
- juchom-tax-id, 4 days ago, 14 messages
👋 happy to help
Hi !
you can do that in schedules
but you can also use update subscriptions but you have to use 2 params:
1- billing_cycle_anchor: "unchanged"
2- proration_behavior: "none"
doing like this will leave the subscription seats to 5 for february ?
yes
actually
no it doesn't it would change to 3 but there won't be an invoice generated
ok
and if you're using the invoice.paid webhook event to provide your services
then it becomes easy
since you're looking at the billing_reason
if the billing_reason is subscription_update
you change the subscription
if it's billing_cycle you keep it as is
So schedule is the way to go if I want to know the current number of seats and the futur number of seats ?
I need to know what the customer has paid for the current month
you would know that via the invoices
and in all cases you will get a customer.subscription.update event which has the previous_attribute that lets you know what changed exactly
you can use test_clocks https://stripe.com/docs/billing/testing/test-clocks in order to simulate this and try to see whether a simple subscription or a schedule is more appropriate in your case
Thanks for the information, I'm going to dig a bit more the invoice path
Sure
thanks a lot
one last question
If I add a seat to my subscription during february, the invoice will have two lines.
Is there a way to safely find the quantity of seats for my subscription ?
the seats won't add line_items
it's the same line item with different quantity
In case of proration
we have two lines, case of going from 5 to 6
It will remove 5 seats and add 6 seats
correct
but that's in the invoice not the subscription
in the subscription you only have one item
and that item has 1 price
and 1 quantity
yes
which is the one you're looking for