...
Obtain merchantID and merchantSecret from cardstreamCardstream. If you intend to send merchantPwd, please configure it on your Merchant Account with cardstreamCardstream. Choose to optionally use Secure 3DS.
...
STEP 2
Activate and edit cardstream gateway
...
Code Block |
---|
Script to get browserData: <script type="text/javascript"> const navigator = window.navigator; const browserData = { acceptHeader: 'application/json', colorDepth: screen.colorDepth, javaEnabled: navigator.javaEnabled(), javaScriptEnabled: true, language: navigator.language, screenHeight: screen.height, screenWidth: screen.width, timeZoneOffset: (new Date()).getTimezoneOffset().toString(), userAgent: navigator.userAgent }; document.getElementById('browserData').value = JSON.stringify(browserData); </script> |
STEP 5
For Secure 3DS the checkout and upsell pages must support 3DS redirects