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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMWIzOTRmOTA0ZjMwMTlkN2E1ZDdkNjYwY2IxNTJkZWUzM2EzNTFhMTM0ZTg3MGQ1MjVmYjBlYjljNDVmODFkMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjFUMDI6Mjk6MTQuNjg5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU8wTHpiR251d0RwWXoyd1FDRlNYTTQ4THA4WXNvQ3dGNFkxTF9mRGFVOWhiZ2tfX1JvbzhlSmh1azZ1SGRxQmMzbGpqM0ppbWhOOXg4blB3Z2V0ZFpKd18yWTlRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62884e7a5791b', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62884e7a5791b', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62884e7a5791b', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62884e7a5791b', 'paylater', 'paypal', 'rect', 'gold');
});
}