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/lebkfamdj2iv/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AcvaADdEZZxwxSuYA4QBw4Yg6o0Tz1cFfkBLGgYfROmjiipuP4ma0AymHU3u-vxw8NqaxHvMucVa69O-");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTI1NTg2ZWU1Njg5ODMxNWZiNzczZTM2ZTEzYjM2YTNjYmIzNjUxODFmYTQ2ZTcxZmJkYjY0MjAxMmY5MzllYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDYtMjdUMDA6MTc6NTUuNzE2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1YdWdiOGhmQ1M2Vm1oX0M3T05mY2tUeW1iUzNVWnlXd0x1c1JGR3hIWUV3aGd4U1hfeS1YNEMyckFyTUVSU0d4ZXBWRV9mZ0VwZXNXRE0zRVJWVUhkX3V5UVFBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b8f7335a933', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b8f7335a933', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b8f7335a933', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b8f7335a933', 'paypal', 'buynow', 'rect', 'gold');
});
}