I have connected stripe standalone accounts to platform accounts before. In fact I did it a week back and it worked perfectly. But somehow this time it simply will not work even though I am following exactly the same procedure. I have set the redirect_uri to a url that is valid. This is what the link looks for my stripe connect button in my platform's page looks like
https://connect.stripe.com/oauth/authorize?response_type=code&client_id=platform_clientid&scope=read_write&redirect_uri=redirecturi
I have also set the redirect_uri to exactly the same thing in the stripe dashboard of the stand alone account. But when I click on the stripe button instead of being taken to the stripe site I end up with an error like this.
{
"error": "invalid_redirect_uri",
"error_description": "Invalid redirect URI 'redirecturi'. Ensure this
uri exactly matches one of the uris specified in your application
settings",
"state": null
}
I am not even taken to the stripe site to log into my standalone account. As soon as I click the button I get this error. And the redirect_uri url is valid and points to a page that exists. Can anyone help?