#rahul-connect-testing-uae

1 messages · Page 1 of 1 (latest)

foggy dewBOT
novel aspen
#

I haven't tried the UAE yet but does 111111111 or 000000000 work?

#

rahul-connect-testing-uae

alpine bolt
#

ok let me check with that

alpine bolt
#

representative.relationship.executive

#

can you please tell me for this also

#

what i need to pass it it for testing

#

@novel aspen

#

are you there

#

@novel aspen

novel aspen
#

what have you tried? Did you read the docs?

alpine bolt
novel aspen
#

it's covered here

#

Please take the time to carefully read through the docs to understand how the API works first

alpine bolt
#

@novel aspen can you please check the screenshot and message.txt file

novel aspen
#

looking

#

Did that make sense @alpine bolt ?

alpine bolt
#

i checked on this fields required for verification of connect account

#

on there i choose filter according to uae and found that it is required

novel aspen
#

I'm sorry you keep sharing the same doc

#

I gave you the exact parameter, have you tried that?

alpine bolt
#

one more thing i found i create a connect a connect account but it is restricted so i called an api stripe.accounts.createPerson for this
account but still it is not set as execute on this account on dashboard

novel aspen
#

Please don't send pictures

#

what's the problem, what is your code

alpine bolt
# novel aspen what's the **problem**, what is **your code**

const Stripe = require('stripe')
const stripeSecretKey = 'sk_test_***'
// const moment = require('moment')
const stripe = new Stripe(stripeSecretKey)
const createPerson = (id, params) => stripe.accounts.createPerson(id, params)

const data = {
first_name: 'Rahul',
last_name: 'Maru',
dob: {
day: '26',
month: '11',
year: '1997'
},
address: {
line1: 'Financial Center Street, Along Sheikh Zayed Road Next to Burj Khalifa - Dubai - United Arab Emirates',
state: 'Dubai'
},
email: 'rahulmaru@appscrip.co',
phone: '+97144373200',
relationship: {
title: 'technical manager',
executive: false
},
nationality: 'AE'
}
createPerson('acct_1M1wPnFoWmuMMGUE', data)
.then((dt) => {
console.log('data =================> ', dt)
})
.catch((err) => {
console.log('error ===============> ', err)
})

novel aspen
#

so what's the problem? You're clearly creating a Person and saying they are not an executive right?

alpine bolt
#

i added executive or an account but still on stripe dashboard it is showing that you need to choose executive i dont know why this is showing me like this when i already created executive to the given accountid

novel aspen
#

where di you add an executive?

#

your code literally does executive: false

novel aspen
#

I did?

#
    title: 'technical manager',
    executive: false
  },```
#

this is your code, hardcoding false here which means "this Person is not an executive"

alpine bolt
#

so only i have to make it true and it will work right

novel aspen
#

Well no, there's a lot more than this

#

but that's the first step

#

I'm sorry you seem quite lost 😦

#

Have you considered using Connect Onboarding instead of doing this yourself? This would save you months of work

alpine bolt
#

const data = {
first_name: 'Ansh',
last_name: 'Rathore',
dob: {
day: '26',
month: '11',
year: '1997'
},
address: {
line1: 'Financial Center Street, Along Sheikh Zayed Road Next to Burj Khalifa - Dubai - United Arab Emirates',
state: 'Dubai'
},
email: 'rahulmaru3@appscrip.co',
phone: '+97144373200',
relationship: {
title: 'technical manager',
executive: true
},
nationality: 'AE'
}
createPerson('acct_1M1wPnFoWmuMMGUE', data)
.then((dt) => {
console.log('data =================> ', dt)
})
.catch((err) => {
console.log('error ===============> ', err)
})

#

i tried with executive true but still same problem

novel aspen
#

But ultimately what you need to do is
1/ create an Account
2/ Create as many Persons as needed that are associated with the account, flag their clear relationship: who is an executive, who is an owner, who is a representative. Depending on the country some of those are required
3/ Update the account to confirm you are done and have set all the Persons by clearly setting https://stripe.com/docs/api/accounts/update#update_account-company-executives_provided and related parameter

alpine bolt
#

const data = {
first_name: 'nilesh',
last_name: 'Rathore',
dob: {
day: '26',
month: '11',
year: '1997'
},
address: {
line1: 'Financial Center Street, Along Sheikh Zayed Road Next to Burj Khalifa - Dubai - United Arab Emirates',
state: 'Dubai'
},
email: 'rahulmaru5@appscrip.co',
phone: '+97144373200',
relationship: {
title: 'executive',
executive: true
},
nationality: 'AE'
}
createPerson('acct_1M1wPnFoWmuMMGUE', data)
.then((dt) => {
console.log('data =================> ', dt)
})
.catch((err) => {
console.log('error ===============> ', err)
})

@novel aspen i tried as you said

#

added owner and executive also

novel aspen
#

please read my message above

#

especially step #3

alpine bolt
#

hello i updated compnay.executives_provided to true but still not updated on dashboard

novel aspen
#

I'm sorry, I am really trying to help but you give me almost nothing every time

#

you just say "doesn't work"

#

What exactly is the Account waiting for? There's a clear requirements hash in the API. What do you see? Is it pending verification? Something else?

#

I'm sorry but you are kind of rushing through everything and I'm worried you haven't taken the time to carefully read our docs and grasp our API

#

If you can provide detailed and actionable information I can try and help though

#

I don't see you making the request I mentioned on acct_1M1wPnFoWmuMMGUE at least

alpine bolt
alpine bolt
#

@novel aspen

novel aspen
#

Sorry but you ping me with no question

#

if it's pending verification, then you have to wait until it's done

#

verification is asynchronous and can take some time

alpine bolt
#

for test account also

#

??

novel aspen
#

and your code should listen to the account.updated Event and react accordingly

alpine bolt
#

@novel aspen

#

for test account also it will take time

novel aspen
#

yes

alpine bolt
#

please check screenshot

novel aspen
#

I'm sorry you keep giving me pictures

#

I'm sorry but I can't keep just answering vague questions where it doesn't look like you are spending the time to go through our docs

alpine bolt
#

simple question is that how i can update the emirate id of person thorugh update persons api
i want to update emrates id for the persons in stripe test environment can you help me

#

give me exact parameter name which i have to pass

#

for update the emirate id

novel aspen
#

what have you tried though

alpine bolt
#

yes with these stripe.accounts.updatePerson

#

but unable to find the exact key for update the emirate id for persons

#

please tell me the exact parameter name

#

i checked it more than 10 times but now found please tell me the exact prameter name which i can use

#

for update the emirates id

novel aspen
alpine bolt
#

becuase it is urgent for me on 10 th of november there is a release for our website and before i have to complete that thing

#

@novel aspen