#emf-customer-portal
1 messages ยท Page 1 of 1 (latest)
Hey ๐ can you double check whether the 'Test mode' toggle, near the top right of the page, is on?
I changed it in both the Test Mode and the production mode. It doesn't change in either live instance.
Does the test mode override that no matter what?
Not that I'm aware of. I'm doing some testing on my end though. Could you clarify where you aren't seeing the updated text being displayed so I can ensure I'm looking in the right place?
Sure. Give me a moment to get there.
Redacted screenshot from billing portal (we're still in beta...)
But here's the test-mode portal config...
(Both of those pages have stripe.com URLs.)
Thank you for those details, please bear with me while I dig in a bit.
I just noticed that the preview will show the updated headline even if you don't click the save button to actually confirm the changes. Could you please confirm whether you saved the changes, and whether any other fields in that section threw an error when saving?
Yes, I can confirm I did save the changes. The screenshot is from a fresh login to the Stripe settings pages, so any unsaved changes wouldn't have been reflected, and the Save button is greyed out in the bottom.
I don't see any other errors.
Thanks for that confirmation, could you share your account ID (acct_123) so that we can double check things from our end?
Thanks, still digging!
Thanks for your patience! I think we've found the concern. It looks like you created a configuration to use for your portal session, and in that it looks like the headline was set to null. Could you try creating a new portal session without passing a configuration?
Hmm... is that coming in from the link in our application? If that's the case, I'll ask the developer to check his code.
Or is this something on the stripe.com settings page I'm overlooking?
So the configuration object is something that is created prior to the portal session (how far in advance will depend on how your code is structured). Here are our docs on those objects, the field that controls the text you're trying to alter is headline contained within business_profile.
https://stripe.com/docs/api/customer_portal/configurations/create
When the portal session is created it can be passed a configuration to override your account settings, in case you want to tailor the experience for particular customers, of this field can be left blank and the session will use your account settings. Specifically this is the configuration field within the portal session:
https://stripe.com/docs/api/customer_portal/sessions/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So yeah, that'd be coming in from the API call/link from our developer's code to override it. I'll check with him.
Sounds like a plan! If they raise any questions we're happy to keep helping. ๐
I've got a meeting with him at 11:30 Eastern, and will come back with an yea/nay shortly after that. Thanks!