#zlatko4796

1 messages · Page 1 of 1 (latest)

hollow steepleBOT
brisk thistle
#

Hello

#

This should be possible via using Customer Portal Configs.

regal pebble
#

Ah, so I would need to have a custom Customer config based on the existing subscription

brisk thistle
#

Yep

regal pebble
#

So what value would I need to use for my downgrade example? I guess if I use disable_prorations it won't prevent the user from downgrading right away?

#

My understanding is that I would disable the proration, but this won't prevent the plan switch. Or does it mean that Stripe will keep the user on the current subcription and only downgrade at the end of the billing period

#

Something similar like adding Pending Subscription

brisk thistle
#

For updates, it will only charge immediately if it is a different interval (like monthly --> yearly) or you use proration_behavior: 'always_invoice'

#

So if you set none then there will just be an update at the end of the period with no proration involved assuming the Prices are both the same interval

regal pebble
#

perfect, I'll test this 😄

What would happen If the user would switch from yearly -> monthly ?
Based on the docs it means that I can't avoid proration and customer having a positive balance because the charge would occur right away?

If that's the case I guess not allowing to switch from Annual to Monthly would be the solution?

#

or can I use proration_behavior: never and it would behave the same as downgrade from Pro to Basic

brisk thistle
#

Yeah they will always be invoiced immediately in that case, however you can still disable proration if you want

regal pebble
#

so basically proration_behavior: never is intended for downgrade scenarios if we want them to switch the plans at the end of the billing period instead of immediately

brisk thistle
#

No that will disable any proration, but the new invoice will always be cut immediately if the interval changes

regal pebble
#

So this means if I disable proration when going from Annual to Monthly the user won't have any positive balance, but this means they'll lose the money.
Do they get a notification in Customer portal if they try to do this?

brisk thistle
#

I don't believe so, no.

#

You can test that out though

regal pebble
#

Will do. Thank you for all the information