#kc-connect-verification
1 messages · Page 1 of 1 (latest)
I am adding the mcc to the business profile but that doesn't change anything
What property do I set to that I can pass the industry when the account is created?
MCC should be the way to do that. Where are you looking that is saying this is still unset?
And do you have an example account ID (acct_1234) for an account that you tried this with?
What is the format of Mcc? I am passing a 4-digit code
but it doesn't seem to take
Example account ID: acct_1NLtL08Eqd04Da6m
@fallow canyon
Thank you, checking in to that ID. The server is very busy, we are getting to questions as wuick as we can but that can take some time
The MCC on that account is 5734 indicating computer software
Where are you looking that this is not displaying?
It looks like you are setting it correctly
The account is 'Restricted'
Look at bottom right, says 'Industry' is not set
and at the top it says we need to input industry
Interesting. Not sure why there is this conflict. Can you show me how you are setting it in the API?
That is where it should be set as far as I know
Trying to think of where the disconnect may be...
Yeah and you said it's set to 5734 - I am putting in 6513
Now this is set to 'individual'
Now I am doing an update after the create, maybe that's resetting it
let me change that
Ok @fallow canyon I was able to fix that problem - I was resetting it below the code I showed
I have 1 other question
I am trying to pass validation documents through the API
Here is my code for that - however it tells me that what I uoploaded is invalid and that I need to upload again
Am I missing some required info here?
Can you send the exact error message that is being sent back to you?
The full error response should have a URL with a request ID (req_1234) somewhere in it. That will be helpful in looking in to this
I will - give me a few minutes
options.Company.Verification.Document = new AccountCompanyVerificationDocumentOptions();
options.Company.Verification.Document.Front = frontID;
options.Company.Verification.Document.Back = backID;
I am including 'Front' and 'Back' - are any of the other properties in 'Document' required?
Not sure without the error message, if you can run that code and send me the result it would be very helpful
Ok
@fallow canyon Account ID acct_1NLu9E5ZgQfLIHt3
I uploaded the front and back of my id as part of the account update, but it says it cannot be read
Have you tried providing our test token file_identity_document_success instead of the one that uploading the file returns?
So instead if the 'file_' id for the uploaded files, put 'file_identity_document_success' for the values for 'Front' and 'Back'?
I believe so, still looking through our testing docs but I think that is how to get a success here
Our doc mentions test images as well as those test tokens but the doc that it links to does not have test images. Will see if we can fix that in the docs https://stripe.com/docs/connect/testing#test-identity-documents
kc-connect-verification
@hybrid mirage please share real code as text here between 3 backticks instead of just pictures of text
Happy to help if you have a specific questions about that part of your code
So no matter what I do, the account says the identity docs I upload are not valid
I'm using the recommended 'success' image that Stripe recommends
Here is the file upload:
var filename = "c:\temp\success.png";
using (FileStream stream = System.IO.File.Open(filename, FileMode.Open))
{
var service = new FileService();
var options = new FileCreateOptions
{
File = stream,
Purpose = FilePurpose.IdentityDocument,
};
Stripe.File upload = service.Create(options);
frontID = upload.Id;
}
And here's where I update the account with the file:
var options = new AccountUpdateOptions();
options.ExternalAccount = bankAcctToken;
options.Company = new AccountCompanyOptions();
options.Company.Verification = new AccountCompanyVerificationOptions();
options.Company.Verification.Document = new AccountCompanyVerificationDocumentOptions();
options.Company.Verification.Document.Front = frontID;
options.Company.Verification.Document.Back = backID;
var ro = new RequestOptions
{
StripeAccount = customAcctID
};
var service = new AccountService();
var acctRet = service.Update(customAcctID, options);
What am I missing?
@fathom girder
Do you have a concrete example I can look at?
Here's an account I just created with this issue: acct_1NLucWQJwqm0MzSh
The error on the account does seem to say the file you gave is invalid really.
The file I uploaded 'success.png' is Stripe's file
1/2 way down on this page
Could "options.Company.Verification.Document.Front" be something else, like a Url or something?
yeah possible. I think those files are really purely about the individual/personal verification and might not work for that specific one
why are you uploading that file in the first place? It's not asked right?
It is asked...
I mean it's not?
The account is 'Restricted' because it needs verification documents
Sure but I think you might be jumping to conclusion here
as the developer, your first step is to look at the requirements property on an Account to see what's needed
in there, I see individual.verification.document and not company.verification.document. That Account is not even for a company right?
Right - let me try that
I think our API lets you add extra info even if not needed but that's not the easiest to grasp
That did it - thank you
Yay! Maybe we could error if you upload something that makes no sense for this specific account