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/n3rw4oqw4qai/plugin/15/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AaH09K93eFcIz2BE1IsGJqundbPNYUuqJnGK0CghaWaCvKjiYWiBWKnj7EUv52-GkXehKXjbbE247ARo");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMGU4ZDExY2M3YzEyZmQzYmMzYTQwZDIwZWI1YWExYjhlNTliYzIwNGQ2MWQ5ZDA1NThhMDIwNmE2OGJhMWY3ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMDRUMDA6MjQ6NDguMDM3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1PbmFlYW0tLUV3a2FkZ2tFS3p0SU5aMXNOUC1leUNqaEJvX1lwWmpwbVdmZkxGai01dXMxeFNmMl84X05hcXN5elBXQ0lEMzBZMDMxVUlXZzN5X01mSHFCclZRIn19");
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", "AaH09K93eFcIz2BE1IsGJqundbPNYUuqJnGK0CghaWaCvKjiYWiBWKnj7EUv52-GkXehKXjbbE247ARo");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMGU4ZDExY2M3YzEyZmQzYmMzYTQwZDIwZWI1YWExYjhlNTliYzIwNGQ2MWQ5ZDA1NThhMDIwNmE2OGJhMWY3ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMDRUMDA6MjQ6NDguMDM3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1PbmFlYW0tLUV3a2FkZ2tFS3p0SU5aMXNOUC1leUNqaEJvX1lwWmpwbVdmZkxGai01dXMxeFNmMl84X05hcXN5elBXQ0lEMzBZMDMxVUlXZzN5X01mSHFCclZRIn19");
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('674fa98357c6c', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('674fa98357c6c', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('674fa98357c6c', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('674fa98357c6c', 'paypal', 'buynow', 'rect', 'gold');
}