Account
I am a
Developer
Product(s)
Earned badges
Achievement: Latest Unlocked
Preferences
Approved Answers
Replies
Topics Started
Topic Started
Topics |
---|
Hi,
I've found the API key for my sandbox account but couldn't do the same for the live account.
|
Hello,
We are running into an issue where our signed PDF files are not being displayed correctly in Chrome and sometimes Firefox as well.
|
Hello,
I've searched the forum for web hooks/call backs and couldn't find anything special.
Is it possible to get notified when a user signs a document?
|
Hello,
Is it possible to sign a document without having the signer to go through the process and click on a signature box?
For instance, we have a website, a user fills the forms, we display a previ
|
Replies Created
Reply to: attempting to use Simple PHP Web Application
Monday, July 16, 2018 at 12:02pmHi Haris,
I've tried this new code example and this is what I'm getting:
Array ( [technical] => Could not find user with uid 'XXXXX' [messageKey] => error.notFound.userNotFound [code] => 404 [message] => The specified user cannot be found. [name] => Resource Not Found )Not sure if I had to put the real uid. Before that, I tried the code in https://www.esignlive.com/blog/esignlive-how-to-create-and-send-a-package-with-rest-in-php and the result is either error.validation.sendPackage.noApprovals or error.validation.verifyDocument.hasNeedAppearancesFlag. With all these different responses I'm not sure which one should I stick to. Thank you in advance for your help. Regards, Sina P.S. The API key that I'm having is working fine with https://sandbox.esignlive.com/api/packages/overview
Reply to: attempting to use Simple PHP Web Application
Tuesday, July 17, 2018 at 06:21amHi Liang, I actually have extract=>true in my code. I've created a new post explaining the goal I'm trying to achieve. About the first question, I used Haris's new example in this post:
< ?php define("API_URL", "https://sandbox.e-signlive.ca/api/packages"); define("MULTIPART_BOUNDARY", "----WebKitFormBoundary7MA4YWxkTrZu0gW"); $build= array( 'documents' =>array( array( 'id' => 'sample-contract', 'name' => 'Test Document', 'extract' => true, 'data' => array( 'esl_doc_extract_type' => 1 ) ) ), 'status' => 'SENT', 'type' => 'PACKAGE', 'roles' => array( array( 'id' => 'signer1', 'type' => 'SIGNER', 'signers' => array( array( 'email' => '[email protected]', 'firstName' => 'Hemanta', 'lastName' => 'kundu', 'id' => 'signer1' ) ), 'name' => 'signer1' ) ), 'name' => 'Text Tags Example Package' ); $api_headers = array( "Authorization: Basic XXXXXXXXXXXXX", "Accept: application/json; esl-api-version=11.10", "Content-Type: multipart/form-data; boundary=\"" . MULTIPART_BOUNDARY . "\"", ); $postdata = "--" . MULTIPART_BOUNDARY . "\r\n"; $postdata .= "Content-Disposition: form-data; name=\"file\"; filename=\"sample_contract1.pdf\"\r\n\r\n"; $postdata .= file_get_contents("sample_contract1.pdf"); $postdata .= "\r\n\r\n"; $postdata .= "--" . MULTIPART_BOUNDARY . "\r\n"; $postdata .= "Content-Disposition: form-data; name=\"payload\"\r\n\r\n"; $postdata .= json_encode($build); $postdata .= "\r\n\r\n"; $postdata .= "--" . MULTIPART_BOUNDARY . "--\r\n"; $curl = curl_init(API_URL); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_POST , true); curl_setopt($curl, CURLOPT_POSTFIELDS , $postdata); curl_setopt($curl, CURLOPT_HTTPHEADER , $api_headers); curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); curl_exec($curl); $response = curl_multi_getcontent($curl); curl_close($curl); echo mb_convert_encoding(print_r(json_decode($response, true), true), 'CP932', 'UTF-8');
And the attached file. Thank you, Sina
Reply to: attempting to use Simple PHP Web Application
Tuesday, July 17, 2018 at 10:20amThank you very much Liang.
Reply to: Sign a PDF file on behalf of someone
Tuesday, July 17, 2018 at 10:40amHi Liang,
I just figured simply putting Text Tags using esl grammar actually does the job for adding a signature field.
I've also read the bulk sign documentation. Based on my understanding, a package must be sent to a signer first. Then the package id can be used to retrieve a token and so on. Do the terms package and document have different meanings? I mean how can we sign a package on behalf of a signer if we need to send that package before retrieving the token?
Or is it like sending a package without any documents and then sign the documents after obtaining the token?
Thanks for you answer and for pointing out the possible legal complications.
Regards,
Sina
Reply to: Sign a PDF file on behalf of someone
Tuesday, July 17, 2018 at 11:18amThank you Liang, you were very helpful.
Subscriptions
Topics | Replies | Freshness | Views | Users |
---|---|---|---|---|
Hi,
I've found the API key for my sandbox account but couldn't do the same for the live account.
|
2 | 5 years 8 months ago | 70 | |
Hello,
We are running into an issue where our signed PDF files are not being displayed correctly in Chrome and sometimes Firefox as well.
|
3 | 5 years 8 months ago | 81 | |
Hello,
I've searched the forum for web hooks/call backs and couldn't find anything special.
Is it possible to get notified when a user signs a document?
|
4 | 5 years 9 months ago | 10 | |
Hello,
Is it possible to sign a document without having the signer to go through the process and click on a signature box?
For instance, we have a website, a user fills the forms, we display a previ
|
10 | 5 years 9 months ago | 769 | |
Hi.
I am trying to implement the sample code provided at https://www.esignlive.com/blog/esignlive-how-to-creating-a-simple-php-web-application/
I have changed the API Key to the API key in my accoun
|
28 | 5 years 9 months ago | 88 |
Subscriptions Release Notes
This user is not subscribed to any release notes.