Payment gateways

You can identify shoppers through various payment gateways. These are third parties who provide payment solutions to ecommerce sites. They allow customers to enter their details into their payment gateway account and use that to pay on multiple sites.

Usually, the email address capture for these payment gateways is stored in an iframe on the third party's domain. But with selected providers, we automatically integrate with their frontend APIs to pull a customer's email address from the iframe. We integrate with the following providers:

Klarna

Fresh Relevance integrates with Klarna's payment gateway through their JavaScript API.

When a user changes their email address within the Klarna iframe, the API passes back the changed email address to Fresh Relevance.

We capture this change just as we would with any other email input.

📘

If you use Klarna, contact client support. We must ensure that the JavaScript code which receives the email address from Klarna is enabled and identifies the shopper. Our Klarna integration automatically improves the identification rate for purchasers requiring no additional effort from you.

Svea

Fresh Relevance integrates with Svea using a JavaScript API.

This integration passes back a successfully validated email address to our script, and then we fire a new event with the updated email address back into our system.

📘

If you use Svea, contact client support. We must ensure the JavaScript code which receives the email address from Svea is enabled and is identifying the shopper. Our Svea integration automatically improves the identification rate for purchasers requiring no additional effort from you.

Ecster

Ecster offers callback JavaScript functions that Fresh Relevance can integrate with and retrieve each customer's email address.

This integration requires adding two JavaScript functions to the Ecster start function. These then refer to a function within the Fresh Relevance script that processes the result.

Example:

EcsterPay.start({
        ...
        cartKey: '...',
        shopTermsUrl: 'htps://...',
        ...
        onChangedContactInfo: function(data) {
            if ($TB){
                $TB.setEcsterData(data);
            }
        },
        ...
        onChangedDeliveryAddress: function(data) {
            if ($TB){
                $TB.setEcsterData(data);
            }
        },
        ...
    });

Qliro

Qliro is another payment gateway that has a JavaScript API. Fresh Relevance integrates with this API automatically within the script.

This integration passes back a successfully validated email address to our script, and then we fire a new event with the updated email address back into our system.

📘

If you use Qliro, contact client support. We must ensure the JavaScript code which receives the email address from Qliro is enabled and is identifying the shopper. Our Qliro integration automatically improves the identification rate for purchasers requiring no additional effort from you.


📘

Using another payment gateway?

For other payment gateways, contact your Customer Success or client support.