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/zi6ae0fjhcun/plugin/92/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVyirHkci3klK8EyH4vR4Wmr5b947B6uG_V3YyX2ysVGCEInoHZRh1o6fx5Rtu0fLiICX2stKFxLh2L4");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTY3MmY4ZTdlNjQ2YjNiZGZlNjY2ZjU1MjI1ZTRlYjQ2N2FhYTMzOWViMzhlODA1N2Q1ODMyMGI0MTVjMTI3M3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMzFUMDc6MjQ6MjUuNDMzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5Gal9YbWhjMTcwX2V0VkxwREV5a0JJYlBrdWNaVzVJUTVaMFp4bHNrOHNxLWx5QmU2eFE0N202d01zZzBkMVg3b3BDbjhsQjBHblRid2c2WWowMUx6U2lQOXJRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d8c2ab341a1', 'paypal', 'checkout', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d8c2ab341a1', 'paypal', 'checkout', 'rect', 'blue');
});
}