Riskified
What is it?
We use Riskified for fraud protection and risk assessment.
How does it work?
- An order is placed by a Client of an Affiliate website.
- Affiliate 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.
How to Integrate
In order to collect information regarding each Client's transactions, you will need to add this snippet of JavaScript to the header of each of your Affiliate website's checkout pages.
Variables to set up:
- set the
store_domain
variable to 'ticketevolution.com'. - the customer's session_id in the
session_id
variable. - the websites's domain & session_id in the
url
variable.
<script type="text/javascript">
//<![CDATA[
(function() {
function riskifiedBeaconLoad() {
var store_domain = 'ticketevolution.com';
var session_id = 'SESSION ID GOES HERE - as passed to Order->cart_token';
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>