#maverick_accountlink-express
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/1271145982461087795
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hey @thin silo! The ask form requires important information so we can help you easily. You just put ..... in it with absolutely no info. Make sure to fill it out properly next time
@fringe sedge so the error is telling me to add DE (Germany) to Onboarding options but I have added that
I'm sorry, those are 2 pictures with almost no info. Can you please take like 10 steps back and provide a clear summary of what you are doing exactly? What does your code look like, which exact part of the code errors? What's the exact error message you get in clear text instread of a screenshot of your JS console when the code runs server-side.
The more details you can provide all in one message the easier it will be to help you
@fringe sedge So bascially, I am trying to add stripe connect to my app. Now I am following guide here https://docs.stripe.com/connect/onboarding/quickstart?client=next#init-stripe to create the basic stripe connected acc and than the link for onboarding.
Please try and send one clear message with all the info instead of step by step bits of info! Pause, take a few minutes and write the clear summary to ask your question in one go
So bascially, I am trying to add stripe connect to my app. Now I am following guide here https://docs.stripe.com/connect/onboarding/quickstart?client=next#init-stripe to create the basic stripe connected acc. And than take the accId and create an acc link with it to do the onboarding. Now the only difference between the code in the guide and my implementation is that I am using next js server actions instead of api routes. server actions are like server side function. So the error in the console is suggesting to enable DE(Germany) in https://dashboard.stripe.com/settings/applications/express. I Did that but still the same error.
Okay thanks. So Next.js likely has absolutely nothing to do with the issue.
So the error happens when you create the Account or the AccountLink? Every error in our API comes with detailed information such as an error message, a request id, etc. See https://docs.stripe.com/error-handling
Can you catch errors cleanly in your code to pin point the exact issue?
maverick_accountlink-express
sorry this is yet another picture of your browser console when I think the error happens on your server-side code. Can you please add the exact error handling I linked you to, catch a clear error and track down which exact API request is causing issues first so that I can further help you?
So at this point I really dont know what u actually are asking for. So I dont know why the error is showing in the browser but its definetly running on the since when I add the "use client" directive on the top of the file it will show me a complete different error related to not providing the header since the secret key only available on the server. So its definetly running on the server. The same error which is been shown on the browser is also shown in the terminal btw. So the link u provided is talking about putting it in a try catch block etc. I am exaxtly doing that
Hi there ๐ taking over, as my colleague needs to step away
You're saying that you get the same exact error server-side, but I don't know how that could be possible. Can you send a screenshot of the exact error you get on your server?