#erajis57_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1283519174672519230
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Is there a limit to the number of accounts when developing a site in test mode? Or in general?
No
Is there anyone that can help us trouble shoot the issue I'm having on my website?
Is it an issue specifically with your Stripe integration?
And are you a developer?
Yes
If both of those things are true then yes I'm happy to help
But you need to provide details about the issue you are experiencing
Okay great
Can I upload a screen recording?
Or point you to one
I also have logs
on wordpress and Stripe
Let's start with a summary of the issue you are having.
If you are seeing a specific error then providing me with a request ID would help as well
One moment
I'm going to upload a few screenshots
On our platform, we allow users to receive donations through our website which then get's deposited into their Stripe account via stripe connect.
Once a user completes the stripe connect registration (via Stripe) they are redirected back to our site, but the stripe connect express dashboard isn't displaying for newly created accounts. It is displaying for older accounts created
Does that make sense?
I mean kind of... what do you mean "the stripe connect express dashboard isn't displayed for newly created accounts"?
Like a user logs into their Express Dashboard
Going to need more details on what exactly you expect to happen vs. what is happening
Okay
One moment gathering details for you
When a user returns back to the site, the should see their connected stripe express dashboard
How are you redirecting them to their Express Dashboard?
Are you using a Login Link?
All of your users will get sent back to your site based on your redirect_uri as explained in https://docs.stripe.com/connect/oauth-express-accounts#redirected
So you have to be doing something else when they get back to your site to actually direct them to the Express Dashboard
That is the part of your code you need to debug
Once they become a user they have access to connect (or create) a stripe account
Sure
Can I add another dev to our chat?
You can @ them
@a5ec
They might have to join this server first?
Here we go.
๐
Hello.
The Connect accounts had been working previously and now they are not.
I went through the "new account" and it indicated success but when sent back to the site, it was not registered.
Also, in Stripe, no account appears for that email address used to create the account.
Ah okay
So you are likely having an issue with step 4: https://docs.stripe.com/connect/oauth-express-accounts#token-request where you actually complete the connection
This is the step that actually connects that newly created Connected Account to your platform
Logs indicate "/v1/account_links" created an account link but nothing else registered in the logs
Hmm you are mixing flows if you are creating an Account Link
Account Links are for Connect Onboarding where you create the Connected Account up front and then send them through onboarding. This is different from the OAuth flow, which uses the link example from above
hmm. This was created by a different dev group. They are sure it is working but indicated a limit of 15 users which you said earlier was not the case (I hadn't heard that before, either).
Here is the flow we are trying to do:
- User is on their "dashboard" in our App.
- Click on "Connect to Stripe"
- Takes the user to step one in creating an account (ie. email)
Pause
- Step 2 = connect banka account
What happens at Step 2 there
You redirect them using a link like the above?
Or you create an account in your backend and then create an Account Link?
And then redirect them based on the URL returned from the Account Link
Okay so the former
Alright keep going
(The issue is still what I stated above, you aren't finalizing the connection when they return to your site)
Sure you can ignore everything that takes place during that onboarding flow
You don't control any of that
Step 6 = "Success"
Step 7 = sends back to our platform
Right
So you need to debug Step 7
What should happen is what we show here: https://docs.stripe.com/connect/oauth-express-accounts#token-request
But that isn't happening right now if you don't see the account actually get connected to your platform
Ok. In Step 6 it indicates that the account is setup but this doesn't happen.
Does that happen in Step 7?
Yeah the account is set up
But it isn't connected to your platform
Thus you don't see it in your platform Dashboard nor have access to it
Ok. Should the email address used in the setup receive a message from Stripe?
I think so, but I don't actually remember the specifics on that
We don't see the account in Stripe, either.
Right you don't see the account because it isn't connected
It is just floating there
Ok.
So the next step is to go find your code that consumes the OAuth token using the authorization code
Should the new account owner receive an email with their account info?
Once they are connected to your platform I believe they do
From Stripe, not our platform.
But I don't think we send an email if you don't complete the connection
Sure
We will pass this along.
Is this being done through APIs or webhooks?
I assume APIs.
That step is done via the API, yes.
The webhooks only provide reporting/notifications on the activity, correct?
Yeah