Payment gateways
You can identify shoppers through various payment gateways. These are 3rd parties who provide a simple payment solution to e-commerce 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 3rd 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 via 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, please contact client support. We will ensure the JavaScript code which receives the email address from Klarna is enabled and identifies the shopper. Our Klarna integration will automatically improve the identification rate for purchasers requiring no additional effort from you.
Svea
Fresh Relevance integrates with Svea via JavaScript API.
This integration will pass 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 will ensure the JavaScript code which receives the email address from Svea is enabled and is identifying the shopper. Our Svea integration will automatically improve the identification rate for purchasers requiring no additional effort from you.
Ecstar
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 will then refer to a function within the Fresh Relevance script that processes the result.
Example code snippet showing how to add these the two functions:
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 will pass 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 Qlrio, contact client support. We will ensure the JavaScript code which receives the email address from Svea is enabled and is identifying the shopper. Our Qliro integration will automatically improve the identification rate for purchasers requiring no additional effort from you.
Using another Payment Gateway?
For other payment gateways, please contact your account manager or client support.
Updated 2 months ago