#JCrags
1 messages · Page 1 of 1 (latest)
Copying the rest of your question here:
Something simple like this, as you can see I am only updating the Plan/Price ID, nothing else. Yet the quantity of the subscription item is reset to 1:
params := &stripe.SubscriptionItemParams{
Plan: stripe.String("price_xxxxx"),
}
_, err := stripeSubitem.Update(
"si_xxxxxxx",
params,
)
Obviously I can solve this by first calling the GET method, and grabbing the current quantity, but I feel like this shouldn't be happening? Maybe there is a reasoning behind this behaviour?
As a side note, the price is a "volume" price and the new one too, but removed the "flat fee" from it.
Hi Pompey, ok 🙂
but I feel like this shouldn't be happening? Maybe there is a reasoning behind this behaviour?
The Stripe Staff on this channel actually joke about how often this is true. Often Billing behavior isn't immediately intuitive but when we learn why it is like that it makes a lot of sense.
Looking in to this, not sure if the volume pricing would affect it. I can definitely put in a bug report if this is unintended behavior, otherwise it can be a feature request though I can't promise that it would get added