Solid

 

 

STEP 1

Obtain publicKey and secretKey from Solid. Select “No” on Secure3DS if it is for Non-3DS.

 

STEP 2

Activate and edit the Solid gateway. Enter publicKey and secretKey.

 

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>