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/9uxa0vgykbat/plugin/19/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVlhWi4ar3fv0keVD1VBlzJfhNnD1GvV7wWr2iYn7SvtNU90LXSI9VUzuXtxL-EYbxEIvHnVayg2OB2W");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjA3ZWRjNDY4MDA1ZmUzZTk3YjI1M2EwOGI4YTYxMDNlYzBhMmU2M2Y0ODA2YjQ3ZmMxMGI4OTkxMTQ1YjE4MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMzFUMTQ6NTA6MTAuMzM1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBKVUxWMGloMHFUV2VpRlJMUXlfa0NFRWhMZVd0b1AtdmxkbXN6OGRJUzJEdXBHaVZqTWtHQ2NkaFFELVhkWE1wQkJqY2RzMW9zQ2RhZE5iTVo2NW4wZTdLQmtnIn19");
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", "AVlhWi4ar3fv0keVD1VBlzJfhNnD1GvV7wWr2iYn7SvtNU90LXSI9VUzuXtxL-EYbxEIvHnVayg2OB2W");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjA3ZWRjNDY4MDA1ZmUzZTk3YjI1M2EwOGI4YTYxMDNlYzBhMmU2M2Y0ODA2YjQ3ZmMxMGI4OTkxMTQ1YjE4MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMzFUMTQ6NTA6MTAuMzM1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBKVUxWMGloMHFUV2VpRlJMUXlfa0NFRWhMZVd0b1AtdmxkbXN6OGRJUzJEdXBHaVZqTWtHQ2NkaFFELVhkWE1wQkJqY2RzMW9zQ2RhZE5iTVo2NW4wZTdLQmtnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('647765b0479c5', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('647765b0479c5', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('647765b0479c5', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('647765b0479c5', 'paypal', 'buynow', 'rect', 'gold');
});
}