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/i70yyq9ik3kl/plugin/27/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVuxuqLiI9YPSU8dOftea9ZlYfvEBKloBq9IgYKrG0okztbY3ogp8aCBNt2l2W4TNyFWSlSzn495y9oW");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjA4OWUxMmExZGVjYjYwNmYzNzg2NTZhNzE0YWViN2Q3NDVlMDUwN2QzNTExZmUzMmJjMjE0YzA0ZTYzNTg2OHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDYtMjhUMTU6Mzk6NTkuNzg0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5OUllCaG9Ycm1Yc2hkWGRxbV9uS3dzeV9fZVdvaHJnblJZei1DVDVxVFVNZlZOdFctNVFuSWpxeHd4Y0xETlZZeUdwX0swT0N5Y2NyNDdGYnBrV1k5dXF5UnJBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bb20cf69697', 'paypal', 'buynow', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bb20cf69697', 'paypal', 'buynow', 'rect', 'blue');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bb20cf69697', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bb20cf69697', 'paylater', 'paypal', 'rect', 'gold');
});
}