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/82ymz0mbvnpi/plugin/16/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Abms0dCF1bKy9VHsTC-zzjqguL8c27KsBFjOzGz_C4L9iu9NJBp0YSlwETpPRUuE-tYV4VMJLxWiu-74");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjFiNTcwZTQ0MzNiNDQxOTgyZDNjNmUxOWQ0ODI3ZGIzODczMTc2NWFmYjE5Y2YzNTM2NTE2NjJmZmViNjhkM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMTZUMTU6NDQ6NTkuODI5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBRV20zeHE0ZUFzZTNJaVFGTkRSNHZGUGJySlBINUxsWHI4M2M3MGhZcVhfRTRaOGY4dFZlOUI5NGFnMVhtWHpYQ1BOcHFoUVV0b2ktbS1vRVI2YzdGV2I3aklRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "Abms0dCF1bKy9VHsTC-zzjqguL8c27KsBFjOzGz_C4L9iu9NJBp0YSlwETpPRUuE-tYV4VMJLxWiu-74");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjFiNTcwZTQ0MzNiNDQxOTgyZDNjNmUxOWQ0ODI3ZGIzODczMTc2NWFmYjE5Y2YzNTM2NTE2NjJmZmViNjhkM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMTZUMTU6NDQ6NTkuODI5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBRV20zeHE0ZUFzZTNJaVFGTkRSNHZGUGJySlBINUxsWHI4M2M3MGhZcVhfRTRaOGY4dFZlOUI5NGFnMVhtWHpYQ1BOcHFoUVV0b2ktbS1vRVI2YzdGV2I3aklRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6463abdf81b07', 'card', 'buynow', 'rect', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6463abdf81b07', 'card', 'buynow', 'rect', 'black');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6463abdf81b07', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6463abdf81b07', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6463abdf81b07', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6463abdf81b07', 'paypal', 'buynow', 'rect', 'gold');
});
}