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/51qt7ldaagpe/plugin/10/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AaZjWBFHJRDuIOQjB3DC-ExiZfxiLRCsJEu8_48IYlEmf5jb6sH-_JoLA0bwbB2VjPbLWl6mOs2_xS2Z");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzU4MDgzNGY2MjlmYzczMjRkYjkyM2RiN2EwNGZlNzlhZjQyMTYxZjc1M2QyYzU4ZWY3NjY3NTQ2MTY0MzAxNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMDFUMDI6MDg6NDcuNjIzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB6MVV2b2d4ay1VNGROMmVoZzV3Y25sSG1sV2F4TGJlUlR5RmIweWZLY2otSzA2LUNqR05VdmliMnRYT0l2NWN5Nnp1YzZYbVR4bkZTMnY5d1BuUXI3ZmVoR3BnIn19");
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", "AaZjWBFHJRDuIOQjB3DC-ExiZfxiLRCsJEu8_48IYlEmf5jb6sH-_JoLA0bwbB2VjPbLWl6mOs2_xS2Z");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzU4MDgzNGY2MjlmYzczMjRkYjkyM2RiN2EwNGZlNzlhZjQyMTYxZjc1M2QyYzU4ZWY3NjY3NTQ2MTY0MzAxNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMDFUMDI6MDg6NDcuNjIzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB6MVV2b2d4ay1VNGROMmVoZzV3Y25sSG1sV2F4TGJlUlR5RmIweWZLY2otSzA2LUNqR05VdmliMnRYT0l2NWN5Nnp1YzZYbVR4bkZTMnY5d1BuUXI3ZmVoR3BnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('644f291d96b83', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('644f291d96b83', 'paypal', 'buynow', 'rect', 'gold');
});
}