Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Current »

This implementation option is the simplest and recommended approach which requires less moving parts.  As part of the JWT generation, all you will need to do is add the card bin to full card number in the Payload within the Transactional JWT.  When the Device Data Collection URL is invoked, the Transactional JWT will be posted over to the URL.  

Integration Steps:

  1. Card BIN to full Card Number goes into the Transactional JWT 

  2. POST Transactional JWT to the Device Data Collection URL

  3. Handle the Response from the Device Data Collection URL on the ReturnUrl provided within the TransactionalJWT

Option 1 Example -

<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">
  <input type="hidden" name="JWT" value="Transactional JWT generated per specification" />
</form>
<script>window.onload = function () {
    // Auto submit form on page load
    document.getElementById('collectionForm').submit();
  }
</script>

NOTE: This example shows the ReturnUrl being populated in the Transactional JWT instead of a POST parameter.

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

  • No labels