#callmarl-sub-item-proration

1 messages · Page 1 of 1 (latest)

surreal siren
#

Hey! There's no 'default' behaviour per se

#

That's a parameter you'd only pass when you making an update to a Subscription or Sub Item that will likely increase/reduce recurring costs

#

So it depends on what you want the behaviour to be]

gleaming moss
#

It's only for test. To simalute renew event. But I doesn't want the proration to be apply because I want to also test transfer (I'm using card 4000000000000077). That's why I would like after subscription_renew() restor the default behavior of each items.

surreal siren
#

As I said, there's no default behaviour. It's a value that's applied at each update depending on whether you want prorations to be calculated or not

gleaming moss
#

Ok thank you

#
    stripe  = Stripe()

    stripe.Subscription.modify(
        s_subscription_id,
        billing_cycle_anchor    = 'now',
        proration_behavior      = 'none'
        )

So this is the right way to simulate renew subscription without the proration?

surreal siren