#xfechx - connect
1 messages · Page 1 of 1 (latest)
hi
What is your question?
I am connecting an account "successfully" and it doesn't appear on the list of the connected accounts. and I am not getting back a stripe_user_id
Don't know where I can debug /
Can you share the account ID of the connected account?
acct_1IJoqWIVVhxSAz7H
This account is not connected to any platform.
How are you connected the account? Where did you see that it was successful?
Because i get a read_write and an ac_xxyyy
it seems successfull, it goes back to my successful return url
Are you using OAuth?
If so, did you follow the last step to complete the connection? https://stripe.com/docs/connect/oauth-standard-accounts#token-request
yes
I have connected MANY accounts in the past
using same code, etc
I want to see where I can see the log of the attempt and see the error
not to see If I completed steps, because my app has already connected many accounts in the past, so I don't think is something to do with code
Can you share your account ID (acct_xxx)? It's at the top of this page: https://dashboard.stripe.com/settings/account
Also note that we don't recommend using OAuth, instead we recommend using the new connect onboarding https://stripe.com/docs/connect/standard-accounts
my account id from the platform?
yes
I don't have time to change code right now, I only need it to work like usual.
Makes sense. So can you share the account ID of the platform?
acct_103xXp2lgzywWyEx
Thanks! Give me a few minutes to look into this.
I can see this:
[error_description] => Authorization code provided does not belong to you```
what does that mean, why am I getting that error
Where do you see that error? In your logs?
yes
It's when you try to do this part? https://stripe.com/docs/connect/oauth-standard-accounts#token-request
is there no way that we can log why am I getting that error?
It is unusual, I use the same code so many times for different accounts....
I get this in the URL:
scope=read_write&code=ac_MKkd1eFJ462x8QNgEaHlyUD2HA1xTejH
Tbh - I don't even want to look at my code, as it should not be that
I just connected another account 2 days ago no problem, and have connected many in the past
all we can really say is that this behaviour happens when you submit the code(that ac_xxx) twice
though several people have been raising this issue on Discord this morning. I suggest writing to https://support.stripe.com/?contact=true so we can do some more investigation and track this in case something is going wrong on our side. I can't test this right now unfortunately as there are 20 other Discord conversations in parallel
about the same issue?
just so that I don't break my head if it is something on your side
if my app has been working with the same code before, then should I worry about it?
I don't know yet, all I know is you're the third person today asking about OAuth connections being consumed twice
maybe all three of you have bugs, or maybe something is wrong on our side, I don't know yet.
FWIW I tried the flow just now and didn't see an issue, the account got connected and wasn't disconnected
anyway :
Authorization code provided does not belong to you
that means you're using the secret key of the wrong platform account when you initialise the Stripe library to call \OAuth::token basically.