Embedded JavaScript (Deprecated)

Embedded mode uses iframes and supports fixed and variable heights with width always 100% of the container. Embedded mobile mode is loaded when the container width is less than 650px.

Server side instructions

Create iSignthis server side transaction using the API.

The transaction id from the server side response will be needed to passed through to the embedded javascript function on the front end.

Front end instructions

Create a div where the ISX verify embedded web application will be contained. (Do not use modals)

Include the ISX embed javascript source.

Setup and publish the ISX embedded content. Note that the publish javascript call must be after the ISX container div.

The setup object requires two properties:

  1. transaction_id: Set from the server side POST authorization response
  2. container_id: The div id where the verify web application will be embedded

Additionally, you may use the the following optional properties:

  • minimum_height: Set the minimum height in pixels the frame can be (default is “600”)
  • maximum_height: Set the maximum height in pixels the frame can be (default is null) Setting this value limits the frame’s ability to expand in size – overflow will be accessible through scrolling
  • language (string): Set the language of the web application (default is english). See Supported languages

Sample Javascript Embedded HTML:

<div id="isx-container">
</div>
<script src="https://verify.isignthis.com/js/isx-embed.js"></script>
<script>
    var options = {
        transaction_id: "<server-side-transaction-id-goes-here>",
        container_id: "isx-container",
        minimum_height: "500",
        maximum_height: "750",
        language: 'en'
    };

    isignthis
        .setup(options)
        .done(function(e) {
            console.log("completed. e=", JSON.stringify(e));
            alert("Finished iSignthis process...");
        })
        .fail(function(e) {
            console.log("error. e="+JSON.stringify(e));
        })
        .continueLater(function(e) {
          console.log("continueLater. e="+JSON.stringify(e));
        })
        .route(function(e) {
            console.log("route. e="+JSON.stringify(e));
        })
        .resized(function(e) {
            console.log("resized. e="+JSON.stringify(e));
        })
        .publish();
</script>

Deprecated States

ID State Reason Response Code Description UI Filtered State
PROCESSING_
TRANSACTION_A
PENDING PROCESSING_
TRANSACTION_A
IS0107 Processing first
transaction secret.. 
This state is now
deprecated.
PROCESSING_
TRANSACTION_B
PENDING PROCESSING_
TRANSACTION_B
IS0108 Processing second
transaction secret.. 
This state is now
deprecated.
AWAIT_CAPTURE PENDING AWAIT_CAPTURE IS0122 Awaiting capture.. 
This state is now
deprecated.
FAILED_THIRD_
PARTY_KYC
REJECTED FAILED_THIRD_
PARTY_KYC
IS0190 Failed Third Party KYC. 
This state is now
deprecated.
IIN_EXCLUDED DECLINED IIN_GREYLIST_
REFUSED
IS0315 The API Client has
excluded this bank.. 
This state is now
deprecated.
MANUAL_HOLD PENDING MANUAL_HOLD IS1001 KYC transaction manually
held by operator. This
state is now deprecated.