Payment gateways are third-party services that provide streamlined payment solutions for e-commerce sites. They allow customers to use their existing payment gateway accounts to complete purchases across multiple websites.
Typically, email addresses for these payment gateways are captured within iframes on the third party's domain. Fresh Relevance automatically integrates with selected providers' frontend APIs to retrieve customer email addresses from these iframes, enhancing identification capabilities without additional configuration.
Before you start
Things you need to know:
To implement a third-party payment gateway integration, contact our support team. We then enable the necessary JavaScript code to receive email addresses from the integration and properly identify shoppers.
Klarna
Fresh Relevance integrates with Klarna's payment gateway using their JavaScript API. When a user updates their email address within the Klarna iframe, the API sends the updated email address to our system. We capture this information just as we would with any standard email input.
Svea
Svea provides a JavaScript API that Fresh Relevance integrates with seamlessly. This integration transmits successfully validated email addresses to our script, which then generates a new event with the updated email address in our system.
Ecster
Ecster offers callback JavaScript functions that Fresh Relevance can integrate with to retrieve customer email addresses.
This integration requires adding two JavaScript functions to the Ecster start function, which then reference a function within the Fresh Relevance script that processes the result:
EcsterPay.start({
...
cartKey: '...',
shopTermsUrl: 'htps://...',
...
onChangedContactInfo: function(data) {
if ($TB){
$TB.setEcsterData(data);
}
},
...
onChangedDeliveryAddress: function(data) {
if ($TB){
$TB.setEcsterData(data);
}
},
...
});
Qliro
Qliro offers a JavaScript API that Fresh Relevance automatically integrates through our script. This integration sends validated email addresses to our script, which then generates a new event with the updated email address in our system.