The TemplateSignatureRequest class has a boolean property for AllowDecline, but in the CreateUnclaimedDraft method, this property is not added to the actual request to HelloSign's API, and thus has no effect.
Steps to reproduce:
Create a new (embedded) signature request using the CreateUnclaimedDraft method with AllowDecline = true. When you try to sign this request using the generated URL, there is no option to decline.
SDK Version
1.3.0 - there is no newer version available.
Solution to resolve
Add the following code to the CreateUnclaimedDraft method
if (signatureRequest.AllowDecline)
{
restRequest.AddParameter("allow_decline", "1");
}
Problem description:
The
TemplateSignatureRequest
class has a boolean property forAllowDecline
, but in theCreateUnclaimedDraft
method, this property is not added to the actual request to HelloSign's API, and thus has no effect.Steps to reproduce:
Create a new (embedded) signature request using the
CreateUnclaimedDraft
method with AllowDecline = true. When you try to sign this request using the generated URL, there is no option to decline.SDK Version
1.3.0 - there is no newer version available.
Solution to resolve
Add the following code to the
CreateUnclaimedDraft
methodStatus
Ready for Merge Link to PR: https://github.com/hellosign/hellosign-dotnet-sdk/pull/114