if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/6n4uc1soxjpq/plugin/20/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ATPOCW8Wu6WHpJ1mxYS-2KErXFwMRQ_ldZWefCf3pC1UGmyiqgwqMSmHntGY4fqylkanxJmbvvndiyZe");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2ZkNGVmZTBiOGE3M2IwZjAxZDEyMjFiZTA0MDRiYTAyZDQ1ODYwYTM1Yzk1ZDEzMjYzZGMzMzIxNGE4Mjc3YXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMjlUMDc6Mjc6MjYuODQ1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5DUmp6c3VRRE90dXpFTWxzc2h3blJPMGNtWXJlV09ZenpsV0poUnd5YVRLaXUtUVdNNmxXRkZDT05yamdSai1WNUtVOTZKRUdDd3B4OWc2dGN3ejJQNUhIb1pRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64745ca1e6f17', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64745ca1e6f17', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64745ca1e6f17', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64745ca1e6f17', 'paypal', 'buynow', 'rect', 'gold');
});
}