#tamil-selvan_api

1 messages ยท Page 1 of 1 (latest)

fallen templeBOT
#

๐Ÿ‘‹ 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/1262327063436853288

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

elder hull
#

Hi, let me help you with this.

#

The accounts will accept TOS as they pass through Connect onboarding. Why are you updating it yourself?

keen karma
#

Thank you. I am justing doing in it the test connected account. Is it not possible?

#

Just for testing. Once testing done, I will ask the product seller to do this. Before that I need to tell them the steps. Thats why. ๐Ÿ™‚

elder hull
#

No, as the error message suggests. You can also go through hosted Connect onboarding in Test mode.

keen karma
#

Oh, Okay. What I need to do? Sorry if you don't mind, can you instruct me, how to do it correctly.

elder hull
#

Are you following any Stripe Connect guide right now?

keen karma
elder hull
#

Correct

fallen templeBOT
lunar cloak
#

๐Ÿ‘‹ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!

keen karma
#

I have created account_links for my connected account. Still payouts and transfers are not active.

Showing tos is required. When I do tos through API, it is failing.

{
"error": {
"code": "oauth_not_supported",
"message": "This application does not have the required permissions for the parameter 'tos_acceptance' on account 'xxxxxxx'.",
"type": "invalid_request_error"
}
}

Can you help on this?

lunar cloak
keen karma
#

req_C0UEWLRbtvMLRW

lunar cloak
#

taking a look

keen karma
#

I'm already enabled do I need to wait for some time to see the result. It is showing same error when doing this

stripe accounts update $ACCT -d "tos_acceptance[date]"=1609798905 -d "tos_acceptance[ip]"="8.8.8.8"

{
"error": {
"code": "oauth_not_supported",
"message": "This application does not have the required permissions for the parameter 'tos_acceptance' on account 'xxxxx'.",
"request_log_url": "https://dashboard.stripe.com/acct_1PciHeQulsA00js4/test/logs/req_SvdAhb1i1tYbPh?t=1721034670",
"type": "invalid_request_error"
}
}

lunar cloak
#

give me a second please

#

you've enabled it for Standard Accounts not Express

keen karma
#

How to do it in Express?

#

Hi @lunar cloak Did I raised a wrong question?

lunar cloak
#

oh sorry not at all

#

I've missed responding to you

#

it has been a bit busy and chaotic the last couple of minutes here on discord

#

I'm checking your account settings to see

#

give me a moment please

keen karma
#

Thanks

lunar cloak
#

ok so you don't really have the ability to enable OAuth for Express (this is a deprecated feature anyway and we only still offer it for people who haven't migrated yet)

#

I think the better way to do so is instead of passing the account ID to stripe accounts update .... you would have to pass it as a Stripe-Account Header

#

with --stripe-account $ACCT

#

would you mind trying that?

#

I might be wrong though, since this is an Express Account not a Custom account ๐Ÿ˜ฆ but let's start by testing that and see what happens

keen karma
#

I'm using Stripe CLI.

stripe accounts update --stripe-account=$ACCT -d "tos_acceptance[date]"=1721034549 -d "tos_acceptance[ip]"="8.8.8.8"

Is it correct?

lunar cloak
#

let's try it yes

keen karma
#

stripe accounts update --stripe-account=$ACCT -d "tos_acceptance[date]"=1721034549 -d "tos_acceptance[ip]"="8.8.8.8"

also tried this one

stripe accounts update -d stripe-account=$ACCT -d "tos_acceptance[date]"=1721034549 -d "tos_acceptance[ip]"="8.8.8.8"

But showing this error

stripe accounts update requires exactly 1 positional argument. See stripe accounts update --help for supported flags and usage

lunar cloak
#

yes I was asking my colleagues and apparently this needs to be done during onboarding which is done using either Account Links or through embedded connect components

#

so it's impossible to do it using the API

keen karma
#

for transfer to connected account is the required one. From there I need to transfer to a seller bank account. Just asking will it be feasible for this setup. On boarding is not that much required for me. Do you suggest what is required in connected account?

I will be using transfer or destination in the checkout to the connected account id.

lunar cloak
#

you will always need to onboard your connected accounts regardless of what service agreement your using

keen karma
#

This step is blocking me for 3 days to get client approval. If I get a solution, it will be better.

Do I need to give checkbox to accept terms of service during checkout? That one will be the TOS acceptance? If I am wrong please correct me

lunar cloak
#

no the tos here is not related to the end customer