Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/259.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php DocuSignAPI嵌入式签名重定向URL_Php_Wordpress_Docusignapi - Fatal编程技术网

Php DocuSignAPI嵌入式签名重定向URL

Php DocuSignAPI嵌入式签名重定向URL,php,wordpress,docusignapi,Php,Wordpress,Docusignapi,我已经在WordPress中集成了DocuSignAPI,它也工作得很好,但一旦签名完成,页面就无法正确重定向。它在iframe中显示。我想将页面重定向到iframe之外 我使用了来自的相同代码 我的重定向页面代码是: // instantiate a RecipientViewRequest object $recipient_view_request = new \DocuSign\eSign\Model\RecipientViewRequest(); // set where the

我已经在WordPress中集成了DocuSignAPI,它也工作得很好,但一旦签名完成,页面就无法正确重定向。它在iframe中显示。我想将页面重定向到iframe之外

我使用了来自的相同代码

我的重定向页面代码是:

 // instantiate a RecipientViewRequest object
$recipient_view_request = new \DocuSign\eSign\Model\RecipientViewRequest();

// set where the recipient is re-directed once they are done signing
$recipient_view_request->setReturnUrl("https://www.docusign.com/develcenter");

// configure the embedded signer 
$recipient_view_request->setUserName($recipientName);
$recipient_view_request->setEmail($recipientEmail);

// must reference the same clientUserId that was set for the recipient when they 
// were added to the envelope in step 2

$recipient_view_request->setClientUserId("1234");

// used to indicate on the certificate of completion how the user authenticated
$recipient_view_request->setAuthenticationMethod("email");

// generate the recipient view! (aka embedded signing URL)
$signingView = $envelopeApi->createRecipientView($accountId, $envelop_summary->getEnvelopeId(), $recipient_view_request);
echo "Signing URL = " . $signingView->getUrl() . "\n";
但页面并没有正确重定向,它仍然显示在iframe中


那么,我如何将页面重定向到iframe之外呢?

您的问题解决了吗?@LarryK,是的,我解决了,谢谢@SamirSheikh请您将您的解决方案作为答案发布在这里好吗?它将帮助其他寻求类似解决方案的人。顺便说一句,它不再工作了。