Payment gateway configuration error

Unable to save bank account details in account. when I press save nothing happens,
When I try saving the details with browser console open I get “Received unknown parameter: account[legal_entity]” in the Ajax response from Stripe.
Any Idea what might be the cause?
Thanks.

Hello,

couple weeks ago, Stripe applied some breaking changes without prior warnings.
If you’re using the latest API version from Stripe (after February 19th), you’ll have to update to the latest master branch or apply the changes from https://github.com/sharetribe/sharetribe/pull/3637 to make sure that Stripe can work in your marketplace.

Hopefully this helps.

I’m already on the latest master branch, the stripe API key of the marketplace is 34 chars long,
what makes me wonder is that the form data is not even reaching the marketplace,
I’m getting that error from api.stripe.com in an Ajax response, when I fill the form “Payout preferences” ( /en/user_name/settings/payment) node " and press save, an ajax request is send to https://api.stripe.com/v1/tokens and in response I get “Received unknown parameter: account[legal_entity]”

I had to manually insert

`feature`='new_stripe_ap', enabled=1

record into feature_flags table using following command from rails console

FeatureFlagService::API::Api.features.enable(community_id: 1, features: [:new_stripe_api])

and finally I was able to add account details.