if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn02.plentymarkets.com/thw61dp2dvyx/plugin/5/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AXUgk2KDoduIM1s3KewcqIjiHXdg3HVUhrosGfQHsdtKHT9bx_WoPjVfhyPFDiitUUz-LCfG1bZpwuYT");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzhlMGE1ZTM3N2EzZWE2MTE4YzY0MmZkNWE1NjM4NGVlMDNkYzM4MDI2ZjFiM2EwODQ4ZmQwNDMxNDg5ODM2OXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMDdUMTg6MjY6NDMuMjczWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5meVNKRW10ZVhYemJZNzNSRUN0Y2JONjJkTWgxd2ZjS2hrcUR3WnI0RGZMX3pfYk13b0ZBdlRUcUU3WXRsdUw2WUY0eFNaenQ2MGM3QVZGSk5pOEtIVDNBNXBnIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('670430c458757', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('670430c458757', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('670430c458757', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('670430c458757', 'paypal', 'buynow', 'rect', 'gold');
});
}