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/dguhim13ihum/plugin/21/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AbQLG-zgJIjtBe72rpPzctoMQTFykq-fzE5bVARhv6e2Qpa3EX-Eu9GHlXbg4x66RvUjBx-j5WV4ihPl");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTMwMDhkYjc0ZTk1YzBlNzE4ZDg0NzU4MWFhMWNjZmRhMjgzODMzODk2Yzc4NzY4ZWI5OWUzZDFjMTQ3YjUwM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMDlUMTg6MDY6MTAuNjc4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU45LUR1N3M5V2hSNlpzWTAyeElMS0oxUjVfN2ZKUll6Zml3ZGhaVmxsM1h3a2h2SGQ1SHZBOHdmRVBZZ09qZV9ONEI5QXN4Mkhna29RekdJNlhpeFVFWWZ2ZE5nIn19");
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", "AbQLG-zgJIjtBe72rpPzctoMQTFykq-fzE5bVARhv6e2Qpa3EX-Eu9GHlXbg4x66RvUjBx-j5WV4ihPl");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTMwMDhkYjc0ZTk1YzBlNzE4ZDg0NzU4MWFhMWNjZmRhMjgzODMzODk2Yzc4NzY4ZWI5OWUzZDFjMTQ3YjUwM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMDlUMTg6MDY6MTAuNjc4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU45LUR1N3M5V2hSNlpzWTAyeElMS0oxUjVfN2ZKUll6Zml3ZGhaVmxsM1h3a2h2SGQ1SHZBOHdmRVBZZ09qZV9ONEI5QXN4Mkhna29RekdJNlhpeFVFWWZ2ZE5nIn19");
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('64fcc1b5bad92', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('64fcc1b5bad92', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64fcc1b5bad92', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('64fcc1b5bad92', 'paypal', 'buynow', 'rect', 'gold');
}