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/10gb70oszvlh/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZXbsIsaNI_1pHreXjqvge2KVXFO91Fb-aU0AiXaG26Ybe1osf2563njAHePbF4I-Dwdg9hOiW6GIaz2");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYmM0ZTdkMWZlMzA3ZDZlN2UyOWVkMGI4ZjU2ZTNmZDk2Mjg2NWQwMjQzMWFmY2Y0NGY4ZWI1M2E0NDAxMTQwNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMzFUMTI6MDE6MDQuNDU5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9BenhHdnNTWkg0aWdMYTYwd1VQZWdtY3ZVcVVDZkJDQUlFZllTVmpNMzkzaGhlWVJWYzh1Yzk3VWEyU25OZ0I4aG1oSUpzUEVxWV9TRW9reGh1cmxLcUxPVnJ3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6426d6945a4b8', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6426d6945a4b8', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6426d6945a4b8', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6426d6945a4b8', 'paypal', 'buynow', 'rect', 'gold');
});
}