Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

Custom Fields Values Not Being Passed #121

Description

@KnightAR

I'm having a difficult time passing pre-filled values using a template in a EmbededSignatureRequest flow. When I request with the exact field names I set in the template, it only returns back a SigntureRequest object with the custom fields values blank.

For example:

$request = new \HelloSign\TemplateSignatureRequest;
...
$request->setCustomFieldValue('ApplicantName1', $this->application->ContactName);

$embedded_request = new \HelloSign\EmbeddedSignatureRequest($request, config('hellosign.client_id'));

$response = $client->createEmbeddedSignatureRequest($embedded_request);

Even tho I have the ApplicantName1 field on the template, the value always returns NULL within the returned object and while signing the document.

I've confirmed that the JSON is being passed correctly to the REST API.

"custom_fields" => '[{"name":"ApplicantName1","value":"Test Person","editor":null,"required":null}]',

Any help would be appricated. I have a call with a HelloSign CSM tomarrow, so hopefully want to see if I'm doing something wrong before I discuss the issue with them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    legacyRelated to legacy, non-OpenAPI SDK

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions