Versions Compared

Key

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

...

  1. The website needs to serve the Riskified Beacon on each every page of the checkout.

  2. An order is placed by a Client of a website.

  3. The website will need to send us the Client's session_id information.

  4. We process the Client's credit card using Stripe.

  5. The Client's session_id information is then sent to Riskified.

  6. Riskified assesses this information and provides us back with a decision on fraud status.

  7. Riskified sends an answer back to us, and if the order passes fraud validation, the order process on our end will continue and Stripe will charge the card.

...

  • session_id is the unique session identifier your site assigns to each visitor. This will need to be passed at order creation as the session_id parameter.

  • store_domain should always be ticketevolution.com.

Code Block
languagejs
<script type="text/javascript">
//<![CDATA[
(function() {
  function riskifiedBeaconLoad() {
  
    var session_id = 'INSERT_UNIQUE_SESSION_ID_HERE';
    
    var store_domain = 'ticketevolution.com';
    var url = ('https:' == document.location.protocol ? 'https://' : 'http://')
      + "beacon.riskified.com?shop=" + store_domain + "&sid=" + session_id;
    var s = document.createElement('script');
    s.type = 'text/javascript';
    s.async = true;
    s.src = url;
    var x = document.getElementsByTagName('script')[0];
    x.parentNode.insertBefore(s, x);
  }
  if (window.attachEvent)
    window.attachEvent('onload', riskifiedBeaconLoad)
  else
    window.addEventListener('load', riskifiedBeaconLoad, false);
})();
//]]>
</script>

...