if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/9xi0ypdttb8m/plugin/28/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "ARs2YO3tb9mq-Sf7AoyFHiI_2PyeLqIgJUo2HlyC8nx8ltTiSXpj6Ov_xxX1MzbTRlkj_lVxueksDc96");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjNhZmM5NmFhMDkxNzc0MTY2N2IwMmU0OTU3M2VhZjlkNjU4OWRmMWNiY2E1YjgwMTc4MDUxNjI0NzI3OGM4ZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMTNUMjA6MzM6MTcuNTcxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBCZTFaM2ozMGF3RDBMc0tYMXRvQm1YVkwwRUs5WEYxbG9GVjhUZVRZYXY1UXZjaU9YZndfajZ2RzJva0ZGT3JVZzZUak8zcmtmS0k2ZDFVSS1aWnduQUg5SERBIn19");
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", "ARs2YO3tb9mq-Sf7AoyFHiI_2PyeLqIgJUo2HlyC8nx8ltTiSXpj6Ov_xxX1MzbTRlkj_lVxueksDc96");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjNhZmM5NmFhMDkxNzc0MTY2N2IwMmU0OTU3M2VhZjlkNjU4OWRmMWNiY2E1YjgwMTc4MDUxNjI0NzI3OGM4ZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMTNUMjA6MzM6MTcuNTcxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBCZTFaM2ozMGF3RDBMc0tYMXRvQm1YVkwwRUs5WEYxbG9GVjhUZVRZYXY1UXZjaU9YZndfajZ2RzJva0ZGT3JVZzZUak8zcmtmS0k2ZDFVSS1aWnduQUg5SERBIn19");
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('65528f678136b', 'paypal', 'checkout', 'rect', 'gold');
});
} else {
renderPayPalButtons('65528f678136b', 'paypal', 'checkout', 'rect', 'gold');
}