I need to integrate Mailmerge in my application using PHP SDK
This function does not work for me
$result = $doc->ExecuteMailMerge($mainDocument, $xml->asXML());
Within ExecuteMailMerge method:
$responseStream = Utils::processCommand($signedURI, “POST”, “”, $strXML);
$json = json_decode($responseStream);
I’m getting json string as “Object of class stdClass could not be converted to string”
I’ve attached the sample documents.