#tominator_unexpected

1 messages ¡ Page 1 of 1 (latest)

ruby oarBOT
#

👋 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.

clever falcon
#

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

mental furnace
#

hi there!

clever falcon
#

this is the non embedded form that launches when I click that blue button

#

hi

mental furnace
#

and can you share the connected account ID (acct_xxx)

clever falcon
#

yes, this is exactly the document I was working from. the specific account I'm trying to on board is acct_1RKW7bCxAgCeDnBY

mental furnace
#

got it. do you see any errors in the browser console?

clever falcon
#

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.

mental furnace
#

I know in some cases we may display that button. trying to find documentation on why/when that can happen.

clever falcon
#

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.

mental furnace
#

right now, the full onbaording flow is done on the popup? it never redirects you back to your page to complete the flow?

clever falcon
#

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.

mental furnace
#

great! so it's just the authentication part that is done in the popup

#

so it looks like everything is working as expected

clever falcon
#

how much control do I have over what that authentication page looks like.

#

and where can I control that.

mental furnace
clever falcon
#

thanks, I don't appear to be able to click the Customize link

#

the Customize link is gray and disabled

mental furnace
#

this may be a permission issue with your account, not sure.

ruby oarBOT