#sajid_custom-onboarding
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/1234607953206841424
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- sajid_code, 5 hours ago, 51 messages
@orchid pike I'm happy to hep but do you have an exact question? Like what exactly is the issue you are experiencing? Requirements are totally normal since we might need to collect more details about the owner of the account. This is covered in details in for example https://docs.stripe.com/connect/required-verification-information
I am integrating stripe connect. I have got requiremnents for seller to approve his account. when I take these requirements and aupdate the connected account with update api. it gives errors.
Okay I'm sorry that's still really vague. You said it "gives errors". Do you have more actionable information such as your exact code and the exact error you get?
be careful you just leaked your real API key, I deleted the message
frontend:
okay so that's you dumping an entire JSON object with a lot of details but the first error message seems really clear and expicit about the problem
I'm sorry you're just dumping dozens of lines of code right now ๐
Yes just to clear what exactly and where I am having error.
I am happy to help you debug this but let's focus on the exact error message you are getting first
Received unknown parameters: charges_enabled, details_submitted, type, object, individual.address.city, individual.address.state, individual.address.line1, requirements, payouts_enabled, external_accounts, future_requirements, country, individual.address.postal_code, controller, created. Did you mean external_account?
That error message is clear that you are passing a lot of parameters that are not allowed
Thanks.
How can i do that. can you provide some example code.
Is there any seperate api to submit requirements ?
The Update Account API is what you want: https://docs.stripe.com/api/accounts/update
You need to make sure you only pass valid parameters. I think you got mixed up somewhere in your code and are passing an entire existing Account object as JSON instead of just the information that is missing.
can you provide an api where i can pass the all the parameters seperatly? OR how will I pass these as parameter. can you send an example?
I'm sorry you seem so lost so I'm trying to figure out how to help you. Really I would strongly encourage you to do none of this.
Is there a reason you picked Custom accounts instead of Express accounts?
Yes it is requirement of our platform.
Yes actually it is hard for me to follow the documentation as So many things are scattered there.
yeah you seem quite lost
do you really have to do Custom accounts and own the entire onboarding yourself? This is really uncommon as a brand new platform honestly
You would be way better off using our hosted onboarding flows
I want like this
How can i do this?
After you create the Account, create an AccountLink https://docs.stripe.com/api/account_links/create and redirect to that URL so that you can do onboarding through our hosted UI
sajid_custom-onboarding
If seller return without verifying that, i can take him back to this any time he want?
yes!
so I need to save this link in my database for that user?
no you create a brand new link each time
you can also use our embedded component https://docs.stripe.com/connect/get-started-connect-embedded-components
sorry there are many ways to do this and it depends what your exact requirements are
Yeah I gone through this documentation, it is much complex process.
sorry to hear that
did you read the error?
You must update your Connect branding settings with icon, brand color in order to create an account link. You can set the missing fields at https://dashboard.stripe.com/settings/connect
it's telling you exactly what to do right?
sure and it tells you why clearly at the top
I'm sorry I don't know much about the Dashboard UI itself so you might want to chat with our support team to unblock you: https://support.stripe.com/contact
I am using embedded component but it give me error. I have taken code from documentation. all the parameters are correctly provided.
I'm sorry this is a picture with zero context
shoul i provide you my code?
I think you first need to try and debug things on your own and make a really simple reproduction, add logs to each part of the code relevant to Stripe, etc.
I have tried it. but stripe is not much clear and self guided. i got error and no clear answers on internet and stripe documentation.
I know but you also jump around a bit without any actionable information. So please first try to debug, add clear logs to your code, check whether the JS library is loaded properly, etc.
I'm happy to help you debug things but I need actionable information that isn't just a screenshot or a code dump