#tominator_unexpected
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/1369282505483620355
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Here is the most relevant code in the html file. I couldn't supply that in the intial question because it was too long for the text box.
const stripeConnectInstance = window.StripeConnect.init({
publishableKey: stripePublishableKey,
fetchClientSecret: fetchClientSecret,
});
debugLog('StripeConnect instance created', null);
showLoading('Creating account onboarding component...');
// Clear previous content
container.innerHTML = '';
// Create the onboarding component
const accountOnboarding = stripeConnectInstance.create('account-onboarding');
here is a screenshot
embedded on boarding form
hi there!
did you follow this guide? https://docs.stripe.com/connect/supported-embedded-components/account-onboarding
and can you share the connected account ID (acct_xxx)
yes, this is exactly the document I was working from. the specific account I'm trying to on board is acct_1RKW7bCxAgCeDnBY
got it. do you see any errors in the browser console?
no
the embedded component is definitely loading successfully, it's just displaying a button to launch a non embedded form. instead of that button the component should be displaying the actual form in the embedded component.
I know in some cases we may display that button. trying to find documentation on why/when that can happen.
In some scenarios, Connect embedded components require the connected account to sign in with their Stripe account to provide the necessary functionality (for example, writing information to the account legal entity in the case of the account onboarding component).
and
Authentication includes a popup to a Stripe-owned window.
this seems odd as when would this not be the case for account on boarding. we were definitely told by stripe account manager that we could on board using an embedded component.
I had another thought. is it possible that I am still getting an onboarding link before I try the embedded component. in my original implementation I was was using onboarding links to get the users on boarded but then was told we could use the embedded components. I haven't checked my code yet but it is possible I'm still generating a onboarding link, but not using it. Do you think it's possible that if I am inadvertently generating an onboarding link before I try to generate the account session and loading the embedded component that it might show that button because the onboarding link was generated already.
right now, the full onbaording flow is done on the popup? it never redirects you back to your page to complete the flow?
hmm, i haven't tried that. let me check.
you are correct, it does redirect back after it asks for a phone number and a code.
great! so it's just the authentication part that is done in the popup
so it looks like everything is working as expected
how much control do I have over what that authentication page looks like.
and where can I control that.
there are some settings here: https://dashboard.stripe.com/test/settings/connect/onboarding-interface
thanks, I don't appear to be able to click the Customize link
the Customize link is gray and disabled
this may be a permission issue with your account, not sure.
for questions realted to the Stripe dashboard, you need to ask Stripe support: https://support.stripe.com/contact