STEP 1
Obtain username and password from HiPay.
STEP 2
Activate and edit the HiPay gateway. Enter username and password. Select “Yes” for Secure3DS and “No” for Non-Secure3DS.
STEP 3
Add the hidden input browserData inside of the same form as the card input.
<input type="hidden" name="browserData" value="" id="browserData">
STEP 4
Add this script to your page before the closing body tag.
<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>