#bruno-subscriptions

1 messages · Page 1 of 1 (latest)

vale raptor
#

what's the underlying action you're modeling here? changing a subscription to a more expensive plan? billing for one-off item?

still folio
#

We're just adding another price to the subscription.

#

Example: there's an active subscription with $10/month price. The customer adds another $20/month price to the subscription at the middle of the cycle.

I want to charge the customer $10 immediately for the remaining 15 days in the cycle for the $20/month price added.

#

If the mid-cycle payment fails, I want to remove the $20/month price from the subscription and continue as usual.

vale raptor
#

I don't think there's a better way to do this than what you're already doing, unfortunately :/

still folio
#

Ok, thanks for confirming this.

vale raptor
#

actually hold on just a sec

#

lemme test something

still folio
#

Ok, I'll be here

vale raptor
#

ok actually, I think what you want is to do this as a subscription update, specifying changes to the items, and then passing proration_behavior=always_invoice & payment_behavior=error_if_incomplete

#

that will not touch the existing subscription's items or state if the payment fails