Paystrax

PAYSTRAX provides European and UK merchants with state-of-the-art solutions for payment processing online and in-store.

STEP 1

Go to Gateways | Gateway Integrations and select the Paystrax tile. Click on + Activate.

Enter accessToken and entityId specific to your Paystrax account

sendUpsellToken - If Upsell is needed, to send a payment token on upsells instead of card number

sendRebillDetails - send billing address on rebills

enableCardOnFile - send standing instruction parameters

usePXP - enable this for PXP Financial processors

zeroAuth - Allow a zero amount transaction to be sent to the gateway. This is a good alternative to the Validate Card trial option.

useTestServer - use the Paystrax test server. Be sure to uncheck this before running live traffic.

secure3DS - choose to process with Paystrax 3DS requirements. If using 3DS then your checkout page must support basic 3DS handling.

Click the green Create Gateway button to save your changes and create the gateway

Steps 2 and 3 can be skipped if using Checkout Champ hosted pages

STEP 2

Add the hidden input browserData inside of the same form as the card input.

<input type="hidden" name="browserData" value="" id="browserData">

STEP 3

Add this script to your page before the closing body tag.

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>

Last updated