Shopify Checkout Kit
overview when your app uses shopify checkout sheet kit https //github com/shopify/checkout sheet kit android for checkout, forter needs the checkout token to correlate fraud signals with the transaction the sdk exposes the token at two points onwebpixelevent — fires when the checkout opens ( checkout started ), providing the token before payment oncheckoutcompleted — fires after successful payment, providing the token and order id integration shopifycheckoutsheetkit present(checkouturl, activity, object defaultcheckouteventprocessor(activity) { override fun onwebpixelevent(event pixelevent) { if (event is standardpixelevent && event name == "checkout started") { val checkouttoken = event data? checkout? token ? return fortersdk getinstance() trackaction(tracktype payment info, jsonobject() apply { put("checkouttoken", checkouttoken) }) } } override fun oncheckoutcompleted(event checkoutcompletedevent) { val checkouttoken = event orderdetails cart token val orderid = event orderdetails id fortersdk getinstance() trackaction(tracktype payment info, jsonobject() apply { put("checkouttoken", checkouttoken) put("orderid", orderid) }) } } )