#TBM

1 messages · Page 1 of 1 (latest)

cobalt lightBOT
timid condor
#

Are there any more details or context that you can provide? I don't think we can gather much from the error message alone.

peak breach
#

Im doing account verification tests.

#

where people upload the front part of their kyc document for verification.

#


$stripeFileUploaded = $stripe->files->create([
                'purpose' => 'identity_document',
                'file' => fopen(__DIR__ . '/..' . "/images/" . $theFile["FileName"], 'r')
              ], [
                'stripe_account' => $_SESSION["logged_in"]["stripeconnectedaccountid"],
              ]);

this function appears to be the one giving the error.

timid condor
#

Gotcha, are these requests returning any request IDs (req_xxx) that we can look at?

peak breach
#

no, its inside a try cath statement so it fails and returns an error.

timid condor
peak breach
#

were do i do the code? In terminal?

timid condor
#

Yup, usage instructions are there in the readme, but you download, unzip (if compressed), and run.