#rahul-connect-testing-uae
1 messages · Page 1 of 1 (latest)
I haven't tried the UAE yet but does 111111111 or 000000000 work?
rahul-connect-testing-uae
ok let me check with that
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
what have you tried? Did you read the docs?
yes i read the docs and found that these key is not mentioned while create a connect account
link : https://stripe.com/docs/api/accounts/create
but according this UAE based connect account in minimum required fields it is mentioned that we need pass these
link : https://stripe.com/docs/connect/required-verification-information#AE-full-company.sole_establishment--card_payments|transfers
can you please check and confirm what i have to pass there
it's covered here
Please take the time to carefully read through the docs to understand how the API works first
looking
there's no parameter called business_vat_id_number in the API right? Like if you look here https://stripe.com/docs/api/accounts/create#create_account-company it doesn't exist
the parameter is vat_id instead: https://stripe.com/docs/api/accounts/create#create_account-company-vat_id
Did that make sense @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
I'm sorry you keep sharing the same doc
I gave you the exact parameter, have you tried that?
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
yes
Please don't send pictures
what's the problem, what is your code
https://stripe.com/docs/api/persons/create#create_person-relationship-executive this is the same as earlier
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)
})
so what's the problem? You're clearly creating a Person and saying they are not an executive right?
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
have you read this code??
I did?
title: 'technical manager',
executive: false
},```
this is your code, hardcoding false here which means "this Person is not an executive"
so only i have to make it true and it will work right
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
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
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
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
hello i updated compnay.executives_provided to true but still not updated on dashboard
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
hey is there any testing Emirates ID for connect account persons api UAE i am unable to find out in this
https://stripe.com/docs/connect/testing#identity-and-address-verification
yes pending verfication
@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
and your code should listen to the account.updated Event and react accordingly
yes
so why it is showing me that emirate id is required for this on dashboard pending verification
https://stripe.com/docs/connect/testing#identity-and-address-verification
on this link i am not getting any test emirates id so can i pass any random number as emirates id on this??
please check screenshot
I'm sorry you keep giving me pictures
https://stripe.com/docs/connect/testing covers in details what you need
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
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
what have you tried though
https://stripe.com/docs/api/persons/create#create_person-documents like it's right there no?
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
gotcha, that part I don't know, you'll have to talk to our support team instead: https://support.stripe.com/contact
so could you connect me with some other guy who can help me in this
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