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/03jtuzbg4pvm/plugin/1/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AWfO-SQ4uucsdBxWHtgw2RlbCkCOCH1SG1KRwOrBppS2lZa3gnlW8pIJK95OU1A6RsxqMJwYpj5cvand");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOWI4MTYxOTZjYzUzNjY0NTIyMGU0YzViYTc0MDMyZTNlM2QzYjY1YWEyOTFmNzhhMzM5ZTA5NTQwMDk5ZTFlZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMDVUMDQ6NDY6NTUuNDc2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU92TXFQLW1LTmFTcUFJdFdmNlJUQkw0Wno4bmJYeEVmdUZsa3pzX3RYWDBSQUdfaGtsUG9pdUNSY2F5UjU5Nm5YT09yZExFNlZZUGg1QUx1N2h0Q21YS1dhTDJRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AWfO-SQ4uucsdBxWHtgw2RlbCkCOCH1SG1KRwOrBppS2lZa3gnlW8pIJK95OU1A6RsxqMJwYpj5cvand");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOWI4MTYxOTZjYzUzNjY0NTIyMGU0YzViYTc0MDMyZTNlM2QzYjY1YWEyOTFmNzhhMzM5ZTA5NTQwMDk5ZTFlZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMDVUMDQ6NDY6NTUuNDc2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU92TXFQLW1LTmFTcUFJdFdmNlJUQkw0Wno4bmJYeEVmdUZsa3pzX3RYWDBSQUdfaGtsUG9pdUNSY2F5UjU5Nm5YT09yZExFNlZZUGg1QUx1N2h0Q21YS1dhTDJRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6700c56c68fd2', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6700c56c68fd2', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6700c56c68fd2', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6700c56c68fd2', 'paypal', 'buynow', 'rect', 'gold');
}