-
Notifications
You must be signed in to change notification settings - Fork 97
Description
Hi,
We would like to have the possibility for our clients to be able to change their signature after they already adopted one.
Here is a link of a video showing a test where we can change the signature (no sms verification) and a test where we can't since we use the sms verification.
https://www.loom.com/share/8fd45bc13b204909929e61ba28ec7b39
I tried to find some parameters in order to allow the change of the signature but I only find "setRequireUploadSignature" which works even after using the sms verification.
My question is : Is there a way to enable the signature change when using the sms verification.
Let me know if you need more info
Here is an extract of my code :
// Create a signer recipient to sign the document, identified by name and email
// We set the clientUserId to enable embedded signing for the recipient
final String signerName = getSignerNameClient( memberJson );
final Signer signer1 = new Signer();
final String signer1Email = memberJson.getLogin();
signer1.setEmail( signer1Email );
signer1.setName( signerName );
signer1.setFullName( signerName );
signer1.setUserId( signerName );
signer1.setClientUserId( signerName );
signer1.setFirstName( memberJson.getFirstname() );
signer1.setLastName( memberJson.getSurname() );
signer1.recipientId( RECIPIENT_ID_CLIENT );
if ( memberJson.getAdviser() != null && memberJson.getAdviser().getTelephone() != null && !"".equals( memberJson.getAdviser().getTelephone() ) && !"0000000000".equals( memberJson.getAdviser().getTelephone() ) ) {
String phoneNumber = memberJson.getAdviser().getTelephone().replace( " ", "" );
if ( !phoneNumber.startsWith( "00" ) && !phoneNumber.startsWith( "+" ) ) {
phoneNumber = PREFIX_COUNTRY_PHONE + phoneNumber;
}
final List RECIPIENT_PHONE_NUMBERS = Arrays.asList( phoneNumber );
final RecipientSMSAuthentication smsAuth = new RecipientSMSAuthentication();
smsAuth.setSenderProvidedNumbers( RECIPIENT_PHONE_NUMBERS );
signer1.setSmsAuthentication( smsAuth );
signer1.setIdCheckConfigurationName( "SMS Auth $" );
}