I've encountered a problem during KYC submission. I create a document without any issues - the created documents appear in my sandbox. However, when I try do add a page to the document I get the following error :
Here's a snippet of the relevant code. I've verified that the user id and document id are correct, as well as that base64 image data is being provided :
public function addPage(IKycPage $page) {
$kycPage = new \MangoPay\KycPage();
$kycPage->File = $page->getBase64();
$pageAddResult = $this->mangoPayApi->Users->CreateKycPage(
$this->mangoPayUserId,
$this->documentId,
$kycPage
);
}
I've encountered a problem during KYC submission. I create a document without any issues - the created documents appear in my sandbox. However, when I try do add a page to the document I get the following error :
cURL error: OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 104 #0 /var/www/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/HttpCurl.php(24): MangoPay\Libraries\HttpCurl->RunRequest()
Here's a snippet of the relevant code. I've verified that the user id and document id are correct, as well as that base64 image data is being provided :