#enraged-camel_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1377645534030069920
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Current flow: when the user first signs up to our app, we collect their email and create a subscription with a 14 day trial.
During their trial, we try to convert them to a paid subscription. We built a mechanism for this: they pick the tier, and the number of seats they need, then enter their credit card info and submit the form. Behind the scenes, we update the subscription with trial_end=now which activates it and charges their card.
The problem: The Stripe Checkout label says "Save Card". We're trying to make it say something more accurate, like "Activate Subscription"
Hey there, what exactly are you trying to customize?
If you're using checkout in setup mode then "save card" is the correct representation of what is happening.
You can instead use checkout in mode=subscription to start the subscriptions directly, which will have different button text to represent that
Can you say more about your flow here?
Oh the subscription already exists, i see
Correct
"Save card" is accurate but from user testing we found that it gives users the impression that their trial will continue until it ends
So in this context, checkout in setup mode isn't really a good fit, or you might want a second step afterward to activate the subscription
save the card via checkout, subsequently activate using that card
Otherwise, you might want to switch to use Elements yourself to collect the card with the pending_setup_intent on the subcription, and you can define your own button with what text you want
Hmm, I was afraid of that. I wish the submit_type parameter worked with mode=setup, then at least we could make the button say "Subscribe". I saw that in previous versions there was a panelLabel that allowed you to change the button text but that seems to be gone now. The lack of flexibility is a bit frustrating. We looked at Elements but it seems pretty complex and requires reworking this feature entirely (frontend and backend).
Anyway, we'll keep exploring. Thank you for your help!
As an interim step, you have the option of adding custom text above or below the button, where you can describe the "activate subscription" action that will happen: https://docs.stripe.com/payments/checkout/customization/policies?payment-ui=embedded-form#add-custom-text
Thank you, this is helpful!
I shared feedback internally about supporting submit type in setup mode or allowing more custom text control here. Hopefully we can make this easier in future!