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/t4m57w9r2qfo/plugin/6/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AVZN1UJV4F3F3iBuENgbpfKnIoaFb7ubu5kGdBzTHoxIgXzmCYP9cHAaptxgDGY7YoxMGLxXI_BEhPxC");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2Q4ZWVkZmY4ZDNjYzBkN2QwNzhjNGUyOGJiMGY4YTcyYTRlMDc2NTY0MmFhYTYwZWU0YTRlNGE1NjQ4MGE5MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMDZUMDM6MjQ6MzguMjU2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA3eW8xMXFuMDhwOUktLU9xV2NWOU1PM2J0ajE0VG1VbVYyTWk5Wkc3RjNwSW5oY2lGblF6T2VKR0tyYmdEU1RiMzhmaE1XbGc3X0g3N3BnTEpIMUloYWVwSzJRIn19");
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", "AVZN1UJV4F3F3iBuENgbpfKnIoaFb7ubu5kGdBzTHoxIgXzmCYP9cHAaptxgDGY7YoxMGLxXI_BEhPxC");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2Q4ZWVkZmY4ZDNjYzBkN2QwNzhjNGUyOGJiMGY4YTcyYTRlMDc2NTY0MmFhYTYwZWU0YTRlNGE1NjQ4MGE5MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMDZUMDM6MjQ6MzguMjU2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA3eW8xMXFuMDhwOUktLU9xV2NWOU1PM2J0ajE0VG1VbVYyTWk5Wkc3RjNwSW5oY2lGblF6T2VKR0tyYmdEU1RiMzhmaE1XbGc3X0g3N3BnTEpIMUloYWVwSzJRIn19");
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('651f800291742', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('651f800291742', 'paypal', 'buynow', 'rect', 'gold');
}