#hamid_error
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/1417304169089470515
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site 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.
can you check this?
Looks like you are trying to do a Connect onboarding. Can you share with me the connected account ID?
let me connect to dashboard, give me a sec
can't you see from email address
as user tried multiple times and got create multiple accounts
with same email address
this is email transportes.cazadores01@gmail.com
and this is latest account id acct_1S7iobGz38NvGkhJ
Ok, so you created an account link for this connected account, and you redirected them to the account link URL but they can't proceed further?
yup, exactly, see the error in video plz
The Stripe Connect error in the video says:
“Se produjo un error desconocido al intentar autenticarse. Inténtalo de nuevo o ponte en contacto con el servicio de asistencia.”
Translation:
“An unknown error occurred while trying to authenticate. Please try again or contact support.”
Can you create a new account link, don't open the URL yet and let me visit and see if I can reproduce the issue?
Let me know when the account link is created, I can get the URL from your Dashboard.
basically there are couple of important things.
- this is production issue, not sandbox, so i can't create
- second thing is that its create via rails method and then redirected automatically to stripe site.
- I just checked dashboard on 11 sep this user was created successfulky javier.zaleta@grupo-tm.com,
- it is working fine in sandbox.
- can't you see error or reason for that particular account?
- Lastly and most important thing javier.zaleta@grupo-tm.com this is US account and the error one is MX account, that could be the reason? but what is the actual error?
What do you mean by " its create via rails method" ?
for example
country_code =
@carrier_company.users.first&.bank_country.presence ||
@carrier_company.country_code ||
"US"
clean_phone = get_clean_phone(account_info[:phone], country_code)
user = @carrier_company.users.first
account_type = account_info[:account_type] || 'company'
common_address = account_info[:address]
# 👇 Country-based account creation
account_params =
if country_code == 'US'
{
type: 'express',
country: country_code,
email: account_info[:email],
business_type: account_type,
capabilities: {
card_payments: { requested: true },
transfers: { requested: true }
}
# NOTE: no tos_acceptance: { service_agreement: 'recipient' } for US
}
else
{
type: 'custom',
country: country_code,
email: account_info[:email],
business_type: account_type,
capabilities: { transfers: { requested: true } },
tos_acceptance: { service_agreement: 'recipient' }
# NOTE: tos_acceptance: { service_agreement: 'recipient' } for mx
}
end
if account_type == 'individual'
account_params[:individual] = {
first_name: user.first_name,
last_name: user.last_name,
phone: clean_phone,
address: common_address
}
else
account_params[:company] = {
name: account_info[:business_name],
phone: clean_phone,
address: common_address
}
end
account = Stripe::Account.create(account_params)
then in second step
account_link = Stripe::AccountLink.create({
account: @carrier_company.stripe_account_id,
return_url: return_url,
refresh_url: refresh_url,
type: 'account_onboarding'
})
That's the code for account creation. What I asked is to create an account link. You don't need to create a new account to create a account link.
should I create again? for you? from console?
Yes, if you can. So that I can visit the account link URL and see if I can replicate the issue
Ah, the accoutn link is already consumed by discord.
Just create the account link and don't share with me the URL
I can't replicate the issue
Can you send another account link URL to your user and ask them to try again?
I used the same email address that you shared earlier
I need to tell the reason to the client too. can you tell the reason why he got error
but he typed in capital letters that might be the reason?
if you see user tried 5 6 times already today
see
Can you ask the user to disable all browser extensions or use a different web browser to proceed with the onboarding.
I tested with upper case and I don't see error either
I don't have the logs since I can't replicate the problem.
so what should we do now? give user a link again and ask user to do it again?