#hamid_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/1405716655262138448
๐ 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.
- hamid_hosted-onboarding-customize-ui, 1 day ago, 12 messages
- hamid_api, 1 day ago, 44 messages
- hamid_api, 6 days ago, 42 messages
hi there, give me awhile to take a look
sure thing, thanks
Thanks for waiting. So it looks like the Platform Profile you've submitted when you set up your Stripe account to use Connect, is configured to only create Express connected accounts: https://dashboard.stripe.com/acct_1RY6McGgxFwHe4If/settings/connect/platform-profile (this link will bring you to your Dashboard's Platform profile section)
But in this request (req_qZvo6dNInMUdmt) you're creating a Custom account, which your Stripe account isn't configured to do.
Are you intending to create Custom accounts or Express accounts?
basically if you can see my first chat with one of your guys he told me to do it.
let me brief again and give you short summary/history, so you can answer better.
you have three chat history with us, could you share with me the specific one you're referring to?
Basically I want user to connect with my US platform.
and user can be from US or MX
so i want connectivity like this
US -> US
US -> MX
When user were trying to connect with MX, I was getting some agreement error and one of you helped me to fix that and asked me to use different params.
so I did this
# ๐ 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)
CAN YOU PLEASE SEE MY FIRST CHAT AS WELL, THAT WOULD BE MORE HELPFUL.
SECONDLY, WITH THIS CODE, I HAVE TESTED BOTH MX AND US CONNECTED ACCOUNTS.
Okay wait
Sorry for the confusion, I believe you're actually missing a step when setting up Stripe Connect for your account
Can you go to this link again: https://dashboard.stripe.com/acct_1RY6McGgxFwHe4If/settings/connect/platform-profile (its the same Dashboard link I pasted above)
there's an outstanding acknowledgement you haven't completed, under Ongoing seller compliance acknowledgement
could you try completing the acknowledgement and try again.
let me see, kindly stay with me
okie, I jsut need to mark checkbox in order to complete that, right?
yes
okie completed, can you please verify, now
You can retry making this request (req_qZvo6dNInMUdmt) again and see if it errors
so now i don't have to do anything else, right? with respect to code, coz, everything was working in sandbox?
I can't make, ill let client know, thanks.