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/8xdcvvn9kakf/plugin/4/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AaarLwNUyLfukrysQdUXlUKQknIodOtyZ4HdcQ9-1qME1V2b7GXcZdvSCbaL16XuAvktjKMtUw9KTo99");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTY1Y2U0NzBiMWE3MjQyNDM3Yjc3ODU5ZTU0NWEwODU0ZWM0YjQ4M2JjNjQ4YmVjYzMxMTAzZTA0ODg2YjEwNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMTJUMTM6NTI6NDAuOTcwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5LbFV5ZXYyb1AzMFZIczhUMUttdEhPX2thbTNkVFNnOU1LdGFwT2p4M1lGYm9fdTlJQjQ3cmNQSVlwekpaQTZrYVAwX21GTTAwZTNLUHQ4N1dhRUp4WDZzeXVnIn19");
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", "AaarLwNUyLfukrysQdUXlUKQknIodOtyZ4HdcQ9-1qME1V2b7GXcZdvSCbaL16XuAvktjKMtUw9KTo99");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTY1Y2U0NzBiMWE3MjQyNDM3Yjc3ODU5ZTU0NWEwODU0ZWM0YjQ4M2JjNjQ4YmVjYzMxMTAzZTA0ODg2YjEwNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMTJUMTM6NTI6NDAuOTcwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5LbFV5ZXYyb1AzMFZIczhUMUttdEhPX2thbTNkVFNnOU1LdGFwT2p4M1lGYm9fdTlJQjQ3cmNQSVlwekpaQTZrYVAwX21GTTAwZTNLUHQ4N1dhRUp4WDZzeXVnIn19");
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('675aefc5f0b73', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('675aefc5f0b73', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('675aefc5f0b73', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('675aefc5f0b73', 'paypal', 'buynow', 'rect', 'gold');
}