#ben_api

1 messages · Page 1 of 1 (latest)

cinder bronzeBOT
#

👋 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/1314603578152980621

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

torn maple
#

Hi, you can only connect accounts in test mode to test mode accounts.

#

It is expected that you get an error when trying to connect accounts in different modes.

dusky hamlet
#

ok that makes sense. We are using oauth to connect, and i notice some of our competitors appear not to be. Is it recommendded to use the oauth flow?

And will we be able to. conenct and auth our platform to existing accounts that are eligable? What makes an account ileligable?

#

ineligable

torn maple
dusky hamlet
#

sorrt which api request? sounds like a different issue no?

dusky hamlet
torn maple
dusky hamlet
#

ok i will look into this, thank you

torn maple
#

Sure!

dusky hamlet
#

Are you able to point at the specific resource for moving from an oauth flow for oncboarding to what ever this is? This doc seems very high level

#

This looks like i am supposed to gather info, call the accoutns aPI and then the account link, redirect them to said link, do stuff in hosted and redirect back.

torn maple
dusky hamlet
#

this is very high level, we already have a full onboarding flow but its in oauth, and based on your comments above it sounds like we should be mnoving off this. But it doesnt seem immediately clear from some of these docs what the new process is

torn maple
#

If you can share more specific questions I'm happy to answer

dusky hamlet
#

e..g this refrences the account link api, but it also mentions givving it an account_id. Ideally the user should click connect in our platform, be redirected to the stgripe hosted page where it asks for an email. It then determins if you mau have an account or not. You pick whatever and then redirect back

#

so which of these bits would be relevant here?

torn maple
#

As of June 2021, platforms using OAuth with read_write scope won’t be able to connect to accounts that are controlled by another platform. Since more and more accounts are controlled only by one Platform, it's more possible that they would not be able to join another platform.

#

If they are not, oAuth would still work.

#

Yes, it is legacy but it is not deprecated.

dusky hamlet
#

OK, so we wouldn't want to connect to a stripe connect account that was created by another platform, and we would ideally also want to prevent others from doing that with ours, but i tihnk that is generally the case anyway from what I can tell.

I see the link above, but what if they already have a stripe account setup? From looking ay others, we can see they are redirecting them to stripe and the user then gets to fchoose what they do on the hosted page. This is what we current do wuith oatuh but from testing api links i dont see how this done

#

e.g. this says create a connect account... OK.... but what then? what if they have an account on stripe already? what happens with this newly created connect account? This isnt clear to me from these docs

#

if we are creating these accounts and something fials, what happens to the created account? do we end up with alot of dormant accounts?

#

(i tested with creating an account but that literally forced the user to setup a new stripe account)

torn maple
dusky hamlet
#

But this is what im not clear on, the docs say create an account, then generate a link. Yo ucannot generate a link without an account. When ive done this, ive used details for an account that already exists and has an associated account there that was not created by another plaform. However with this flow I was not offered this, i was only offered to setup a new stripe account.

#

However I know this is not always the case as we see 4 other platforms doing this

#

So i am missing something here....

torn maple
#

Let me test something real quick, hang tight

dusky hamlet
#

Ok thanks, ive tried a bunch fo stuff but keep getting presented with setup an entireyl new account. Ive even tried using the base stripe accout, going into test mode and crfeating a new account off that in test mode

#

I think the account link api is only going to work if I know the account id to generate for by looks of it

torn maple
#

Are you solely using Standard Accounts it sounds like?

dusky hamlet
#

i think so yes

#

i have a video of what another platform does to, which shows you want we expect to happen

torn maple
#

Although OAuth is legacy, it has not been deprecated. OAuth is still the way to connect an existing account, assuming the existing account is not controlled by a single platform. If they do not have an account a new account is created, yes.

#

Can you share that video from that other platform?

dusky hamlet
#

hang on il have to find someone to host it as this is limited to 10mb

#

try this

#

I can see what they are doing in this video, but i dont get how they have acheived it

torn maple
#

I can't watch that as it says 'Private'

dusky hamlet
#

try now

#

OK i think... this might be to do with being in test mode

#

as Ive just used a legacy test account that was crearted (by our platform, but in my local) and when i use create + api link I am offered the option to use this account as a base

torn maple
#

It sounds like your last test unblocked you, is that right?

dusky hamlet
#

sorry, yes i think it did, just working on a poc that works end to end to confirm

#

but i dont expect you sit and wait for me to do that!

torn maple
#

We typically keep these open for a bit. Feel free to come back to us if that does not unblock you.

dusky hamlet
#

well a question for tyou actually, how should the refresh url be used?

cinder bronzeBOT
spark delta
#

Hello! I'm taking over and catching up...