Maverick
Checkout Champ is integrated to Maverick’s 3DS proprietary payment gateway version 1.0 and version 2.1.
To activate a Maverick gateway, go to Gateways | Gateway Integrations and select the Maverick tile.
Select the green Activate button
Specify your Maverick account credentials along with other gateway configuration details and select Create Gateway. 3D Secure processing is optional.
Once the Maverick gateway is created, it can be assigned to your campaigns and you can begin processing payments.
3D Secure processing
If processing 3D Secure transactions the checkout page must support 3DS redirects.
A step in the 3DS processing is passing browser data on the initial order/import API call.
Review this example of one method to send browserData parameter.
browserData input to be added to checkout page:
<input type="hidden" name="browserData" value="" id="browserData">
Script to get browserData:
<script type="text/javascript">
const navigator = window.navigator;
const browserData = {
acceptHeader: 'application/json',
userAgent: navigator.userAgent,
language: navigator.language,
timezone: (new Date()).getTimezoneOffset().toString(),
colorDepth: screen.colorDepth,
screen: {
height: screen.height.toString(),
width: screen.width.toString()
},
javaScriptEnabled: true,
javaEnabled: navigator.javaEnabled()
};
document.getElementById('browserData').value = JSON.stringify(browserData);
</script>