#deadend_code

1 messages · Page 1 of 1 (latest)

acoustic schoonerBOT
#

👋 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/1230117118243115070

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

slate ravineBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

wet dawn
true karma
#

Hello! Can you share the full React code? LIke where is that component invoked in your app

wet dawn
#

@true karma

true karma
#

This is Next.js right? Is OnboardingPage a page or a is it a component rendered elsewhere?

true karma
# wet dawn

Is that the default state of the component? What are you showing me here?

wet dawn
#

Yes I am using Next.Js 14.

This is a page. I have some Providers on my layout. This page will render as a children inside those providers.

true karma
#

Are you clicking something to open the page or?

#

I'm confused how invoking a React component would just open a new window

wet dawn
#

Fixed the issue. Sorry for the trouble. The issue was in when generating the client_secret i set external_account_collection as true. That's why it opened up in a new window.

Anyway thanks for the assist.

true karma
#

Ah, I learned something new too!

Connect embedded components typically don’t require user authentication – they’ll offer the functionality they’re configured for directly. In some cases, Connect embedded components requires the user to sign in with their Stripe account to perform the necessary functionality required by that component (for example, writing information to the account legal entity in the case of the account onboarding component).
https://docs.stripe.com/connect/get-started-connect-embedded-components#user-authentication-in-connect-embedded-components

Learn how to embed dashboard functionality into your website.