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
This error tends to come up quite frequently (especially for people using Stripe Connect for the first time), so recorded a quick video on how you can resolve it:
Any questions let me know.
Hi @alexcooney5,
I have a sand box setup with stripe and I am doing some testing. I have come across a weird bug that seems to be intermittent dealing with the embedded checkout and the success page. Occasionally when I checkout using test credentials, the payment processes but it does not redirect to the success page which is very problematic as thats where all the bookings etc… get created that are associated with a paid transaction. After the payment button turns green the embedded checkout will disappear and I am left on the embedded checkout page that is now essentially blank. On stripes end the payment when through no problem. If i hit the back button and go back to my cart page and try again without changing anything about the items in the cart it will go through on the second try and load the success page as normal. Pretty confused on this one just wondering if you’ve heard of anything like this before?
Hi @dancoburn89, yes I actually have come across something like this before.
It usually occurs when you have debug_mode on and you’re adding some URL parameters at the end of your Return/Success URL.
You end up with a Return URL that looks like:
https://myapp.com?debug_mode=true?param1=yes
Which results in Stripe just returning the user to the page they were on.
Does this sound like it might be what’s happening with you? The solution is to simply not use debug mode when you’re generating checkout sessions.