πŸ“ƒHigh mode

High mode (2) for signing contracts involves using digital signatures, a robust and secure method of authentication.

You can be integrated using a web plugin

Create Session Token: First Step When Customer Click On Sign contract You Have To Initialize Session First By Creating Session Token Using The Following API

SignContractMode enum 2 value for high mode and 1 if you want to use low.

Import eNROLL JS File in index.html :

<script src="eNROLL.min.js"></script>

Add Div Element With Specifying Id For This Div

<div id="myDiv">
</div>

Initialize eNroll Component Anywhere In Your JS File After the Document Is Loaded:

eNROLL.init({
        elementId: 'frame',
        mode:"digitalSign",
        url: environment.pluginUrl,
        sessionId: sessionStorage.getItem('sessionToken'),
        onExit: () => {
          this.router.navigateByUrl('login');
        },
        onComplete: () => {
          alert("Completed");
          this.router.navigateByUrl('login');
        },
        onError: (errorCode,message) => {
          alert(`errorCde : ${errorCode} , Message x:${message}`);
        },
      });

Last updated