MyCPO

Go to Gateways | Gateway Integrations and select the MyCPO tile.

Select the + Activate button

Specify your MyCPO account credentials along with other gateway configuration details and select Create Gateway.

dbald and secCode are specific to ACH processing.

Optionally choose to enable 3DSecure processing.

Use sendProductDetails to send products with each sale.

Once the gateway is created, it can be assigned to campaign products and start processing payments.

This next step can be ignored if using CheckoutChamp hosted pages

3D Secure processing

If using Secure 3DS be sure the checkout page supports the challenge requests

Direct API 3DS Instructions

A step in the 3DS processing is passing browser information on the 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>

Last updated