Skip to main content
Payment gateways

Use one of our integrations to automatically improve the identification rate for purchasers without you having to do anything else.

Updated over a week ago

One way that we can identify shoppers is through various payment gateways. These are third-parties who provide a simple payment solution to e-commerce sites. Allowing customers to input 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 in order to pull a customer's email address from the iframe. Some of the providers we integrate with are listed below.


Before you start

Things you need to know:

  • If you want to use one of the third-party payment gateways below, contact our support team. We will ensure the JavaScript code which receives the email address from the integration is enabled and is identifying the shopper.


Klarna

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

When a user changes their email address within the Klarna iframe, the API passes back the changed email address to us. We then capture this just as we would with any other email input.


Svea

Svea also has a JavaScript API that Fresh Relevance integrates with.

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.


Ecster

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

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

Below, in bold are the two functions that need to be added:

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.

Did this answer your question?