#JulesR-terminal-DNS

1 messages ยท Page 1 of 1 (latest)

plain arrow
fallen wind
#

@modest sedge have you had a chance to review these docs

#

We have stripe connect on our platform and i'm testing it now with live account. I get error and can't connect terminal. In connect dashboard it shows status Restricted. We have platform waiver. It's asking me for all credentials i already added in the stripe connect cobranded page

modest sedge
#

i'll solve that later, need my dev support.

#

We have stripe connect on our platform and i'm testing it now with live account. I get error and can't connect terminal. In connect dashboard it shows status Restricted. We have platform waiver. It's asking me for all credentials i already added in the stripe connect cobranded page.

fallen wind
#

What status? And which terminal reader is this?

modest sedge
#

but data is already provided via the connect signup

fallen wind
#

Okay so the Connected Accounts are restricted. I thought you meant the reader was.

modest sedge
#

correct.

fallen wind
#

Okay, can you share the account IDs?

modest sedge
#

yes, sec..

#

acct_1KZNcTPLan1JccmV

#

acct_1KORwsPPQEL1oPmA

fallen wind
#

Both of these accounts are missing large amounts of information needed to allow them to operate.

#

You can examine these requirements by accessing each account via the API and reviewing the requirements attribute

modest sedge
#

when i signup up via our connect page i put in my EIN and account info

fallen wind
#

There are many more pieces of information needed to complete the account onboarding.

#

For instance, for acct_1KZNcTPLan1JccmV the following information is needed:

business_profile.mcc
business_profile.url
business_type
external_account
person_4KZNcT00CipQUZSC.first_name
person_4KZNcT00CipQUZSC.last_name
tos_acceptance.date
tos_acceptance.ip
modest sedge
#

I've asked my dev Andrew if he can join here .. he says Iโ€™m afraid this is make no sense for me, on express test accounts Stripe also required this data, and this data should be filled by logged in user to connected account stripe dashboard

#

can he join here just if i give him the URL?

fallen wind
#

It can be but it hasn't currently.

#

A user can see the requirements in their dashboard but that way doesn't walk them through the requirements

modest sedge
#

nasa51#7278 please invite here

fallen wind
#

I'm sorry I don't see anyone with that screen name

#

@dapper quiver

#

Hello

#

๐Ÿ‘‹

modest sedge
#

hi

#

on call one sec

#

nasa51#7278 you don't see??

modest sedge
#

there is nasa51 please invite here?

spark spireBOT
#

This thread has been archived. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact

fallen wind
#

@modest sedge Your thread is unarchived

modest sedge
#

Invite nasa51 pls asap

fallen wind
#

THey are on this thread

modest sedge
#

how can i create a convo and copy team

fallen wind
#

I'm not sure. What are you trying to achieve?

modest sedge
#

why is it restricted?

#

Andrew see above: https://stripe.com/docs/api/accounts/object#account_object-requirements
There are many more pieces of information needed to complete the account onboarding.
For instance, for acct_1KZNcTPLan1JccmV the following information is needed:
business_profile.mcc
business_profile.url
business_type
external_account
person_4KZNcT00CipQUZSC.first_name
person_4KZNcT00CipQUZSC.last_name
tos_acceptance.date
tos_acceptance.ip
I think the best approach would be to generate Account Links for these two accounts and walk through the interactive onboarding process:
https://stripe.com/docs/api/account_links/create

dapper quiver
#

Jules provided screenshot that she is seeing

modest sedge
#

I really need you two to figure this out please. Our account is set for online boarding and we have a waiver for our platform

#

but looks like info i put in on signup from connect is not being recognized

fallen wind
#

The dashboard isn't necessarily the best place to address this. That is why I recommended walking through the Onboarding process using the Account Link.

dapper quiver
#

Jules, that screenshot that you shared - you get it with account link from inside of our platform?

fallen wind
#

If you want to know what is required, query the Account API and examine the requirements property. It will contain a list of attributes required.

modest sedge
#

yes from ours

#

we don't want to pay for the upgrade identiy if that is what this is

dapper quiver
#

thank you, I can see those requirements, but question, we can't update this requirements with API, because of express account, but when Jules logged in to express account, she can't see on stripe any message that this info is required to fill

modest sedge
#

how can we remove these

fallen wind
#

You need to provide the information

modest sedge
fallen wind
#

When I have tested onboarding Express accounts and got myself into this situation, the easiest approach has always been re-creating the Account Link and walking through the hosted onboarding process again.

modest sedge
#

I've done twice and being charged in live sites

#

do i need my account manager to help figure this out??

fallen wind
#

In this case they would probably be the best bet since this isn't an API integration issue.

modest sedge
#

It seems an API issue. Andrew do you understand why not wokring??

fallen wind
#

You can update the busines_profie attribute, the individual attribute all via the API

dapper quiver
fallen wind
#

What did you use to generate that URL (which is expired BTW). Putting any connect auth url in Discord will force it to expire because of the preview feature Discord runs on any URL

dapper quiver
#

After finishing express signup with production client_id there is this page instead of redirect:

fallen wind
#

Okay. How did you create the link to send you to the signup?

fallen wind
#

What code did you use?

dapper quiver
#

unique is only state param

fallen wind
#

unique is only state param
I have no idea what that means. Did you write the code to generate the URL yourself? Can you share that code?

dapper quiver
#

I'm afraid code iteself will not help much, but here it is:
$__url = "https://connect.stripe.com/express/oauth/authorize?" .
"redirect_uri=" . WSD_Output::_makeUrl('auth_account','settings','default') .
"&client_id=". $__client_id .
'&suggested_capabilities[]=card_payments' .
'&state=' . SGL_Session::get('__stripe_state');
SGL_HTTP::redirect($__url);

                    exit();
#

that is php

fallen wind
#

The $ is a dead giveaway

#

And three backticks (`) in discord will provide some convenient code formatting options

  $url = "https://connect.stripe.com/express/oauth/authorize?" .
                            "redirect_uri=" . WSD_Output::_makeUrl('auth_account','settings','default') .
                            "&client_id=". $client_id .
                            '&suggested_capabilities[]=card_payments' .
                            '&state=' . SGL_Session::get('stripe_state');
                        SGL_HTTP::redirect($url);

                        exit();  
dapper quiver
#

any feedback?

mint sky
dapper quiver
#

but we should have unique redirect url per client signup

mint sky
#

Yea you can select on the fly but they must be preconfigured in your dashboard

#

They can't be dynamic/uniquely generated per user

dapper quiver
mint sky
#

Nope, you need to configure them in your dashboard

modest sedge
#

when i signup to test again, can i use a prev used email?

#

after i get the authcode it is sending me to this to login

#

running out of emails to try with

mint sky
#

you can use any email in test mode -- you should not be landing at a live login page

modest sedge
#

i'm doing in real mode. we've done in test and it works. real mode going live and need to test chargeback and REAL account connection - trying to launch

mint sky
#

This is not recommended. In live mode you'll need real email addresses, yes.

modest sedge
#

Got it. We will try it on qa first. How do i set using test stipe bank account, do simulate a chargeback or fraud?

mint sky
modest sedge
#

test signup, ssn should be real??

mint sky
modest sedge
#

is there way to tell what email i used to signup on tesst account? i tried so many and now not sure what i put in for the last time i tried it

#

disregard found it!

#

from dashboard when i try to go to stripe account it gives me user and password
fields to login instead of the stripe email recongizing it as express and doing the phone login

#

can we let login without mobile verification, can they create a pw to login or only possible with mobile verification?

steel mountain
mint sky
#

Phone verification is required for self serve, but in test mode you should be using login links:

dapper quiver
#

I'm sorry, but that is exact resource that we are using to login to stripe dashboard

modest sedge
#

Issue: on signup, i don't make a password. It validates via phone. On attempt to login from our dash it asks for pw

#

i have no such pw

steel mountain
#

@dapper quiver Sorry, I may not fully understand your question, can you provide more details?

#

@modest sedge Are you associated with @dapper quiver?

modest sedge
#

yes

#

he is dev

#

i'm product side

steel mountain
#

Ah, okay.

#

I'm still not sure I completely understand the issue, but I'm wondering if you're using the same login credentials for multiple accounts. Are you using different web browsers and/or incognito/private browsing mode while testing?

dapper quiver
#

jules walked through stripe test-mode express connect signup, now she is trying to login to that account stripe dashboard

steel mountain
#

Did all of that happen in the same browser where you're logged into your test/platform account?

dapper quiver
#

I think signup has been done in incognito, and stripe login link Jules is opening in incognito tab, where she is only logged in our intergration platform, and not logged in stripe dev dashboard

steel mountain
#

Can you clarify what this means? "where she is only logged in our intergration platform, and not logged in stripe dev dashboard"

#

What does being logged into your integration platform mean? The Stripe platform account or something on your end?

dapper quiver
#

our integration platform - mean it is our site where we are integrating now stripe

steel mountain
#

Gotcha. What about onboarding, where did that take place?

#

Onboarding for the Express account I mean.

dapper quiver
#

onboarding took place in incognito tab

steel mountain
#

And the email address associated with the Express account has not been used on Stripe before with any other account?

dapper quiver
#

yes, the email address has not been used on Stripe before

steel mountain
#

Can you confirm the URL you're redirecting to starts with https://stripe.com/express/?

modest sedge
#

I sent a video of it above somewhere

dapper quiver
steel mountain
#

Yeah, the URL in that video doesn't start with that.

#

That's why I'm asking. ๐Ÿ™‚

#

Can you confirm that's the approach you're using?

dapper quiver
#

yes, that is the approach that we are using

steel mountain
#

When that code runs you should be getting a URL back that starts with https://stripe.com/express/. If you're not I'm a bit confused. Can you share the code you're using to generate the link?

modest sedge
#

now i get

steel mountain
#

Yeah, there it is. So if you open a new incognito window and visit that link what happens?

#

Wait.

#

That starts with connect.stripe.com, which seems unexpected...

#

Let me test something on my end...

#

Ah, I guess the docs are out of date. Yeah, the API provides connect.stripe.com URLs now. We'll need to get that fixed.

#

Okay, so if you visit that in an incognito window you get the username and password login, not the phone verification page?

dapper quiver
#

req_dxQiMHskTLNsG6

modest sedge
#

can;t visit in incog because need to be logged in to our platform to get to stripe dash, i believe

steel mountain
#

But you have the URL. Just copy that URL and paste it into an incognito window.

modest sedge
#

i got a verif code

#

and again

dapper quiver
#

that's odd - on redirect it asks login, on direct past - it asks phone verification

steel mountain
#

So something funky is happening somewhere in your redirect code/process/browser session.

#

How are you redirecting to that URL exactly?

dapper quiver
#

<?php header("Location: https://connect.stripe.com/express/S1Bnsl6BR3hJ/"); ?>

steel mountain
#

๐Ÿค”

#

That should be fine...

dapper quiver
#

That is on network flow

steel mountain
#

So, just to make sure I understand, you open a brand new incognito window, navigate directly to the page that redirects as shown above, and you get different results than if you visit the URL directly?

dapper quiver
#

yes

steel mountain
#

If you follow the same steps, but clear your cookies immediately before the redirect, does that make any difference?

dapper quiver
#

no difference

#

on php redirect stripe redirects to login page

steel mountain
#

That's really strange. Can you add in a normal HTML link to that URL alongside the redirect button (like <a href="https://connect.stripe.com/express/...">Test</a>) and see if that makes a difference?

dapper quiver
#

html link goes to phone verification

modest sedge
#

i got those pings

dapper quiver
#

so looks like on php redirect missing some headers that makes stripe redirect to login

steel mountain
#

Okay, so I think something else is going on during the redirect. If you start fresh with a new incognito window, navigate to the page, then open the dev tools, go to the Network tab, check "Preserve Log" and then click on the redirect button you should be able to see everything that happens.

dapper quiver
steel mountain
#

Yeah, but that's the wrong URL, right?

#

Also that's the redirect coming from Stripe, not your server, correct?

dapper quiver
#

yes

#

that is in stripe response headers

steel mountain
#

I'm wondering about what's happening before all of that.

#

I want to see the network activity from the moment you press the button all the way through to landing on the login page.

dapper quiver
#

Here it is

steel mountain
#

Where is that stripe_dashboard/ 302 redirect coming from?

dapper quiver
#

that is initial action - controller that gets login link from stripe and performs php redirect

steel mountain
#

I'm a bit stumped, to be honest. Let me ask around internally.

steel mountain
#

Okay, wow, one of my teammates figured this out.

#

Your redirect is adding a trailing slash to the URL. That trailing slash is causing the change in behavior.

#

If you adjust your redirect process to exclude the trailing slash it should work as expected.

#

So this won't work:
<?php header("Location: https://connect.stripe.com/express/S1Bnsl6BR3hJ/"); ?>

#

But this will:
<?php header("Location: https://connect.stripe.com/express/S1Bnsl6BR3hJ"); ?>

modest sedge
#

please keep open Andrew will be back tomorrow thx

rustic herald
#

When your dev is back, feel free to ask in channel to reopen the thread. I am afraid in 1 day my team would need to temporary close the thread