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/avwsmpzw8emn/plugin/2/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AfmIo3u9JgMK0ntpmFWIqEUP6eaUi2MhjSEfFEnMBQFziLMEiOLitPqiu_KuBBV5ne7DDsXEDDyLrf5g");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTg4ZGI0NDFlNzdiYWZkYTBhYWMxMmUwNTA4MjIxZmMzZTMyZWU3YzUyZjMwYThlYTIwMWE3N2U2NjZmNWQ3Y3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDhUMDI6MTE6MjcuNDg2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU96MTJGQmtsaXlDY2M0X0lBS3pjMUx1SWlBMlU1ZDZPNGhaS1FDQ2hYWWEyYlJTWDJuejF5RkhQS2xrUFViRnkzXzl0enoza2REY0hpZlZYTkJvTC10WUFFSVR3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AfmIo3u9JgMK0ntpmFWIqEUP6eaUi2MhjSEfFEnMBQFziLMEiOLitPqiu_KuBBV5ne7DDsXEDDyLrf5g");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTg4ZGI0NDFlNzdiYWZkYTBhYWMxMmUwNTA4MjIxZmMzZTMyZWU3YzUyZjMwYThlYTIwMWE3N2U2NjZmNWQ3Y3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDhUMDI6MTE6MjcuNDg2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU96MTJGQmtsaXlDY2M0X0lBS3pjMUx1SWlBMlU1ZDZPNGhaS1FDQ2hYWWEyYlJTWDJuejF5RkhQS2xrUFViRnkzXzl0enoza2REY0hpZlZYTkJvTC10WUFFSVR3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66dd13d332983', 'card', 'buynow', 'rect', 'black');
});
} else {
renderPayPalButtons('66dd13d332983', 'card', 'buynow', 'rect', 'black');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66dd13d332983', 'paypal', 'checkout', 'rect', 'black');
});
} else {
renderPayPalButtons('66dd13d332983', 'paypal', 'checkout', 'rect', 'black');
}