#yuvi00001
1 messages · Page 1 of 1 (latest)
Can you share a screenshot to illustrate what you mean by 'description'?
yes, sharing
here the highlighted text
source- this text is the product's description
Can't be changed dynamically I'm afraid. You'd need to use a different product if you wanted to change that text. What do you want to change specifically?
like here im offering trial to this customer, so i want to show a different description ,
when im not offering the trial i want to show the usual description
or you may use updateProduct call when you are offering tril. but you need to manage it programtically
You could use custom text on trial sessions: https://stripe.com/docs/payments/checkout/customization#add-custom-text
Updating the Product description on a per session basis is a footgun I wouldn't recommend
i agree
custom_text seems like a better option, but the placing of text doesnt serve the purpose
The only way you could dynamically alter that text on a per session basis is by using inline Prices/Products: https://stripe.com/docs/products-prices/pricing-models#inline-pricing
But that has its disadvantages too (it creates a new unique object for every session)
okay, i see
here the text below "start trial" can be changed by custom text i believe?
No, you can use a custom_text[submit] to insert text above the button
is there a way we can reduce the billing address fields or maybe place this text some where up into user's sight ?
No, we collect the billing fields required according to the selected country and payment method
what are the necessary fields here
Not sure I understand the question
okay, my question is are the "address1" "address2" fields required ? as they are taking some space and are pushing the text out of sight.
Also, can they be removed ? or can we change the layout of this page so that everthing is in sight ?
Yes, they are. Checkout will only render address fields that are required according to the country of your customer and the selected payment method.
No, you cant customise the payment page to that extent. If you require extensive customisation, you'd need to build your own payment flow with Elements
okay, last thing
the text displayed in my screenshot . it is there by default, is it in my control to display/remove that text ?
Which text? You've sent a few screenshots
last screenshot sent , this is the text
"After your trial ends, you will be charged $12.00 per month starting March 15, 2023. You can always cancel before then."
No, that's not customisable
It's a legal requirement that that text be displayed on the page
okay i get it
Thanks @covert kindle , you've been really helpful.
np!