#JulesR-terminal-DNS
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Have you had a chance to go through these steps?
https://support.stripe.com/questions/the-stripe-terminal-sdk-is-encountering-dns-errors-when-connecting-to-an-internet-reader
@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
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.
What status? And which terminal reader is this?
Okay so the Connected Accounts are restricted. I thought you meant the reader was.
correct.
Okay, can you share the account IDs?
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
when i signup up via our connect page i put in my EIN and account info
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
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?
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
nasa51#7278 please invite here
there is nasa51 please invite here?
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
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
@modest sedge Your thread is unarchived
Invite nasa51 pls asap
THey are on this thread
how can i create a convo and copy team
I'm not sure. What are you trying to achieve?
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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi Guys, unfortunatly stripe dahboard that I've get link with https://stripe.com/docs/api/account_links/create - asks for no additional info
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Jules provided screenshot that she is seeing
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
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.
Jules, that screenshot that you shared - you get it with account link from inside of our platform?
Additionally you can use the Identity Verification sessions: https://stripe.com/docs/api/identity/verification_sessions
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.
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
how can we remove these
You need to provide the information
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.
I've done twice and being charged in live sites
do i need my account manager to help figure this out??
In this case they would probably be the best bet since this isn't an API integration issue.
It seems an API issue. Andrew do you understand why not wokring??
Have you tried providing these details via the Update Account API?
https://stripe.com/docs/api/accounts/update
You can update the busines_profie attribute, the individual attribute all via the API
I'm also expirience another issue this resource https://connect.stripe.com/express/oauth/authorize is not returns to redirect_uri that I've provided
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
After finishing express signup with production client_id there is this page instead of redirect:
Okay. How did you create the link to send you to the signup?
What code did you use?
unique is only state param
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?
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
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();
any feedback?
@dapper quiver You need to configure your redirect URI here before Stripe will use it: https://dashboard.stripe.com/settings/connect
but we should have unique redirect url per client signup
on this resourse it is said we can past redirect url on signup link:
https://stripe.com/docs/connect/oauth-express-accounts
Yea you can select on the fly but they must be preconfigured in your dashboard
They can't be dynamic/uniquely generated per user
You can use the state parameter to include custom per account information: https://stripe.com/docs/connect/oauth-express-accounts#step-1:-you-provide-the-oauth-link
I think I've figured this our, but is there way to past redirect urls on https://dashboard.stripe.com/settings/connect using API?
Nope, you need to configure them in your dashboard
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
you can use any email in test mode -- you should not be landing at a live login page
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
This is not recommended. In live mode you'll need real email addresses, yes.
Got it. We will try it on qa first. How do i set using test stipe bank account, do simulate a chargeback or fraud?
Yes, we have test cards you can use that will automatically generate a few different types of disputes; https://stripe.com/docs/testing#disputes
test signup, ssn should be real??
No, the test SSNs are here in the docs:
https://stripe.com/docs/connect/testing#test-personal-id-numbers
000000000
for successful
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
GIF uploaded to CleanShot Cloud
can we let login without mobile verification, can they create a pw to login or only possible with mobile verification?
Hello! Stripe requires 2FA for some accounts: https://support.stripe.com/questions/two-step-authentication-requirement
Phone verification is required for self serve, but in test mode you should be using login links:
I'm sorry, but that is exact resource that we are using to login to stripe dashboard
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
@dapper quiver Sorry, I may not fully understand your question, can you provide more details?
@modest sedge Are you associated with @dapper quiver?
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?
jules walked through stripe test-mode express connect signup, now she is trying to login to that account stripe dashboard
Did all of that happen in the same browser where you're logged into your test/platform account?
to login she been redrected to url generated with this tool:https://stripe.com/docs/connect/integrate-express-dashboard#create-login-link
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
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?
our integration platform - mean it is our site where we are integrating now stripe
Gotcha. What about onboarding, where did that take place?
Onboarding for the Express account I mean.
onboarding took place in incognito tab
And the email address associated with the Express account has not been used on Stripe before with any other account?
yes, the email address has not been used on Stripe before
Can you confirm the URL you're redirecting to starts with https://stripe.com/express/?
I sent a video of it above somewhere
almost, it is https://connect.stripe.com/express
Yeah, the URL in that video doesn't start with that.
That's why I'm asking. ๐
You said earlier you're using this approach to create the link, but that doesn't seem to be the case: https://stripe.com/docs/connect/integrate-express-dashboard#create-login-link
Can you confirm that's the approach you're using?
yes, that is the approach that we are using
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?
now i get
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...
Can you give me the request ID showing the creation of that link? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
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?
req_dxQiMHskTLNsG6
can;t visit in incog because need to be logged in to our platform to get to stripe dash, i believe
But you have the URL. Just copy that URL and paste it into an incognito window.
that's odd - on redirect it asks login, on direct past - it asks phone verification
So something funky is happening somewhere in your redirect code/process/browser session.
How are you redirecting to that URL exactly?
<?php header("Location: https://connect.stripe.com/express/S1Bnsl6BR3hJ/"); ?>
That is on network flow
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?
yes
If you follow the same steps, but clear your cookies immediately before the redirect, does that make any difference?
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?
another noted behavour, that after redirect, when you past url https://connect.stripe.com/express/2fUqhhgHthS3/ into browser stripe redirects to login page, I'll try now with html link
html link goes to phone verification
i got those pings
so looks like on php redirect missing some headers that makes stripe redirect to login
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.
I'm sorry, but I've already shared two screenshots where on redirect header to https://connect.stripe.com/express_login/kTFNTHN2p1ny stripe response header has 'location: ' with login link
Yeah, but that's the wrong URL, right?
Also that's the redirect coming from Stripe, not your server, correct?
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.
Here it is
Where is that stripe_dashboard/ 302 redirect coming from?
that is initial action - controller that gets login link from stripe and performs php redirect
I'm a bit stumped, to be honest. Let me ask around internally.
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"); ?>
please keep open Andrew will be back tomorrow thx
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