#Eranga
1 messages ยท Page 1 of 1 (latest)
I'm afraid expanding current plan by default is not configurable.
Customer portal can only be configured with the properties here: https://stripe.com/docs/customer-management/configure-portal
Also we noticed that this section of the customer portal is not visible when the customer is using Indonesian language
Are they on the same subscription when creating the billing portal?
This issue is reported us to by a different customer. Maybe I will check the specifics first and ask a different question later
I have two more questions ๐
Yup sure! Please go ahead
Is it possible to create a checkout session without requiring the customer to add a payment method?
Sorry, not create. Allow the customer to use a checkout session
Could you share the scenario why you need a checkout session without adding a payment method?
We are trying to give a trial period of 7 days to the customer. We would like to give the customer the option to not enter credit card information at first but within the trial period
So to do this using a checkout session, the customer should be able to use the session to subscribe but not entering card details
How will you collect payment method later?
We allow the customer to enter their payment information later while using the trial. We use the customer portal and allow them to enter their payment information
We also use checkout sessions to get the card information
Great! In this case, you may set payment_method_collection to if_required when creating a Checkout Session: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_method_collection
With if_required, Checkout will not collect a payment method when the total due for the session is 0.
Sure, please go ahead!
In checkout session, when the user changes the quantity, if the value is less than 1, we can see a nice error banner below the quantity text box
Can we change this minimum value (which is 1 right now) to a value we define?
Like the user can't go below 5 as quantity
Yes, this is possible! The minimum quantity can be set at line_items.adjustable_quantity.minimum: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-adjustable_quantity-minimum
No problem! Happy to help ๐
Going back to my previous question regarding the Indonesian language, check this URL
Here, I don't see a "Show Cost Details" button
Instead, I see another button which directs me to another screen
Which is "the another button" you're referring to? I can only see Cancel plan button in this page
Could you also share the customer portal with "Show Cost Details" button?
Yup sure!
Since it was Indonesian, I didn't know the text in the button. I guess you were right. It was for canceling the plan
The reason why "Show Cost Details" button doesn't show is not because of the language. It's because "Show Cost Details" will only show when there's tax is included in the price.
For the one without button, its subscription doesn't have tax: https://dashboard.stripe.com/test/subscriptions/sub_1MCdoxC8JGuaUdU6CPdM7Zln
For the one with button, its subscription has tax: https://dashboard.stripe.com/test/subscriptions/sub_1MCzhLC8JGuaUdU6FGDREc2K
Cool, I didn't notice the tax there. Thank you.
One has only Cancel Plan while the other has Update Plan and Cancel Plan both
Why is that?
In your customer portal settings, it allows updating the subscription plan with plans in SGD: https://dashboard.stripe.com/test/settings/billing/portal
Since the available plans for update is only in SGD and not IDR, no plan in IDR is available to show for updating the subscription plan in customer portal.
Wow, didn't know about this configuration. Thank you so much
For the adjustable quantity in checkout session, is there a way we can also set the error message we display to the customer?
Unfortunately, error message is not configurable
No problem, thank you for your help today
I have answers to all my questions
Have a nice day ๐
No problem! Have a nice to you as well ๐