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/rm2ukznxe8l9/plugin/366/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AUQm0jDZ4XomJb7w4Xr1sFjNKmmN8ALk67PhKsjuSAYz2P5TO2ReSxDes5WAup7IHrgAFvL9Iaa7Nf13");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjhkMTVkNjI0NGI2MzRkYTJjNjZlMTI1OTk0NmRkM2RlYjUyNDQ4MzJjZTdjZjg5OGYzNDUwMGJkMGI2ZTE0NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjZUMTQ6MDI6MzIuNjk1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU91NC1fU25lS0RGMlhBcDBjS2E4TlRIZ0M5dDIxWHlrb3U5VWhzbzFZLTRxWW56OXJHbEFZTTV4WWRRY3lIQW1HblF3WlJ5UUFPX0lUcExRNS0zZ1cyanQwNjRnIn19");
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", "AUQm0jDZ4XomJb7w4Xr1sFjNKmmN8ALk67PhKsjuSAYz2P5TO2ReSxDes5WAup7IHrgAFvL9Iaa7Nf13");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjhkMTVkNjI0NGI2MzRkYTJjNjZlMTI1OTk0NmRkM2RlYjUyNDQ4MzJjZTdjZjg5OGYzNDUwMGJkMGI2ZTE0NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjZUMTQ6MDI6MzIuNjk1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU91NC1fU25lS0RGMlhBcDBjS2E4TlRIZ0M5dDIxWHlrb3U5VWhzbzFZLTRxWW56OXJHbEFZTTV4WWRRY3lIQW1HblF3WlJ5UUFPX0lUcExRNS0zZ1cyanQwNjRnIn19");
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('662bb5c8f1767', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('662bb5c8f1767', 'paypal', 'buynow', 'rect', 'gold');
}