...
The website needs to serve the Riskified Beacon on each every page of the checkout.
An order is placed by a Client of a website.
The website will need to send us the Client's
session_id
information.We process the Client's credit card using Stripe.
The Client's
session_id
information is then sent to Riskified.Riskified assesses this information and provides us back with a decision on fraud status.
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 thesession_id
parameter.store_domain
should always beticketevolution.com
.
Code Block | ||
---|---|---|
| ||
<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> |
...