Hey Everyone, I am trying to allow users to connect an account. When I get to the point of testing users, I get the following error Plugin action Stripe Connect - Create Onboarding Link error when parsing the response: the key error is mot part of the btype definition. I notice On the stripe side, I can see the account created however its status is “restricted” stating the account owner needs to provide more information to stripe. Any idea how to resolve this? I found one other instance of this happening in the forum however that solution did not help. Thanks in advance for any insight that anyone can provide on this.
I find Stripe plugins unreliable. I would always recommend using the API connector. The Stripe Connect account creation process is quite straight forward and it only requires two APIs, just make sure to read the doc so you’ll set it up with parameters best suited for your use-case. You’ll have more control over parameters and behaviour:
-
Create Account API=https://api.stripe.com/v1/accounts
Docs: Create an account | Stripe API Reference -
Create onboarding link API = https://api.stripe.com/v1/account_links
Docs: Create an account link | Stripe API Reference
Hi @iracrayton, I’m the creator of the Stripe Connect - Marketplace plugin. Happy to help you resolve any problems with it!
This problem usually (but not always) occurs because you haven’t added your branding/icon - it’s a requirement from Stripe. If you add those (here’s the link) and it still doesn’t work feel free to shoot me an email (alex@cranfordtech.com) or send me a private message and I’ll work with you to figure out the issue
That’s exactly what it was, working now! Thanks a bunch for a prompt reply!!
Thanks a bunch, I plan to increase me comfort level of working with API’s this year.
No problem at all @iracrayton, if you have any other questions just let me know.
hello, @alexcooney5 I have got the same problem. I’m using it in test mode. can you please suggest me something?
Hi @sheeza.ali, thanks for using our plugin!
If you follow the debugging steps outlined in the plugin documentation, you should be able to figure out what’s going on.
Same problem here. I’ve changed the branding as you said but can’t find the solution
The logs state this
You passed an empty string for ‘account’. We assume empty values are an attempt to unset a parameter; however ‘account’ cannot be unset. You should remove ‘account’ from your request or supply a non-empty value.
Any help is greatly apprectiated
Thanks
Hi @danstastudios, this error code occurs because you’re passing a blank value in the ‘Account’ field of the ‘Create Express Account’ action.
This usually happens because you’re failing to create an account with the ‘Create Express Account’ action.
To figure out why, you ca go to the Developers section (1) of your Stripe dashboard and take a look at the logs (2). If you go to the ‘Failed’ section (3) and click on the most recent error associated with the POST /v1/accounts call (not the POST /v1/accounts_links call), you should be able to see an error message that explains what was causing the issue (4) - see image below:
Hello, I have the branding but error occurs anyway. Any other idea?
Hi @tris, thanks for using our Stripe Connect - Marketplace plugin!
Can you follow the debugging steps outlined in the plugin documentation and let me know if that helps?
hi, thank you so much! I have indeed the error "
parameter_invalid_empty - account
You passed an empty string for ‘account’. We assume empty values are an attempt to unset a parameter; however ‘account’ cannot be unset. You should remove ‘account’ from your request or supply a non-empty value." in logs.
No idea of how to fix it though. Do you know where I can remove this from the request for fill it with non empty value?
"invalid_request_error
Please review the responsibilities of managing losses for connected accounts at Stripe Login | Sign in to the Stripe Dashboard.
Was this useful?
Yes
No" ok i guess i have to sign this first then!
ok it worked! thanks for the support Alex!Preformatted text