#Adi-plan-update

1 messages ยท Page 1 of 1 (latest)

young siren
#

That explains how to handle these upgrades and downgrades including billing cycle anchor and prorations!

#

Give it a look and let me know if you have follow up questions!

noble pebble
#

ok let me check

#

and what about second question?

young siren
#

The doc discusses that as well

#

For example, switching a customer from one monthly subscription to another does not change the billing dates.

noble pebble
#

I am clear with above doc but I am not able to understand if I want to accept remaining amount then how to redirect user to stripe built in checkout page?

young siren
#

What collection method are you using for your Subscription?

noble pebble
#

you mean payment method? if yes then it is card payment only

#

should I again create new checkout session? also how will this remaining amount get calculated will stripe do it for me or do I need to write logic on my own and pass it to checkout session API request payload? Is there any better way to do it?

young siren
#

Okay let's back up for a second.

#

You are using Stripe Checkout to create Subscriptions for your customers and charge them for the initial invoice, correct?

noble pebble
#

yes correct

young siren
#

Thanks, and are you using (or plan to use) the Customer Portal to help manage the Subscription?

noble pebble
#

no I am not using customer portal to manage subscription

#

Let me check what is that

young siren
#

Okay so after the Subscription is created, you want to set the paymentmethod that was used by the customer as their default paymentmethod

noble pebble
#

ok so looks like stripe does all the hard work for me if I integrate customer billing portal then user can update/cancel subscription there itself I dont have to write any logic on my end is that correct?

young siren
#

Correct

#

I would recommend the customer portal

#

So that you don't have to manage Paymentmethods for your customers

noble pebble
#

yes got it. Let me go ahead and integrate it. thanks a lot for your help. I was thinking that I would have to make use of subscription upgrade/downgrade APIs. Thanks once again ๐Ÿ™‚ ๐Ÿ™

#

Issue resolved can be closed now ๐Ÿ™‚

#

sorry one question

#

why cannot I add multiple products in customer billing portal?

#

gives me this msg

#

I am trying to add $14 and $24 both plans so that user can upgrade/downgrade to anyone

young siren
#

Yeah this would create two line items that state the same thing. The expectation is that you would create a different product here.

noble pebble
#

currently on checkout built in page I have single product with 2 prices $14 and 24 so in customer billing portal that will not work you are saying?? I will have to create 2 products one priced at $14 and other $14 is that what you are saying??

young siren
#

Correct

#

That is a limitation of the Billing Portal UI