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/y1g27aamp6y5/plugin/3/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "ATn-gSfBbyhN2v-fh2ovY4FMMcX0CUgNa4yqzE5dsqbye352790ZDg57sC77kH_3TIj2z3_lR3IcKzUP");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiN2I5NGQyZTMzOTU2NmU1MzFhZWRlN2NkODI5NjRkZjQyNDMyODNhMDQwYmI3MTFjNzQzMjIxMjQ2NTU4NDRiNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjRUMjM6NDY6MTcuOTU5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBjNHI0UW5iWk9BQWd2c0tndG45ZEhXUWw5bU9rSnBRSGhjRklHSHdqZHdoZThGVGpLSEZQa0RpbEtDSGx1VjhBWGdoVUwzbGM2NnNmVFpzbGlQcnBrVkNpQTdRIn19");
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", "ATn-gSfBbyhN2v-fh2ovY4FMMcX0CUgNa4yqzE5dsqbye352790ZDg57sC77kH_3TIj2z3_lR3IcKzUP");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiN2I5NGQyZTMzOTU2NmU1MzFhZWRlN2NkODI5NjRkZjQyNDMyODNhMDQwYmI3MTFjNzQzMjIxMjQ2NTU4NDRiNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjRUMjM6NDY6MTcuOTU5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBjNHI0UW5iWk9BQWd2c0tndG45ZEhXUWw5bU9rSnBRSGhjRklHSHdqZHdoZThGVGpLSEZQa0RpbEtDSGx1VjhBWGdoVUwzbGM2NnNmVFpzbGlQcnBrVkNpQTdRIn19");
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('6629a52d4819d', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6629a52d4819d', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6629a52d4819d', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6629a52d4819d', 'paypal', 'buynow', 'rect', 'gold');
}