Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Option 3 Example
NOTE : This example shows the ReturnUrl being populated in the Transactional JWT along with a POST parameter.

Code Block
languagehtml
<iframe name='collectionFrame' height="10" width="10" style="visibility: hidden; position: absolute; top: -1000px; left: -1000px;"></iframe>
<form id="collectionForm" target='collectionFrame' name="devicedata" method="POST" action="https://centinelapistag.cardinalcommerce.com/V2/Cruise/Collect">
  <!-- 
      POST Parameters: Bin=First 6 digits to full pan of the payment card number. For merchants unable to utilize the First 6 of the Cardnumber, optional Rest API is
      available to generate a session identifier representing the session. JWT=JWT generated per merchant spec 
    -->
  <input type="hidden" name="Bin" value="
410000
400001" />
  <input type="hidden" name="JWT" value="JWT generated per merchant spec" />
</form>
<script>window.onload = function () {
    // Auto submit form on page load
    document.getElementById('collectionForm').submit();
  }
</script>
Info

Click here to review how to handle the Device Data Collection responses.

...