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/f98508atthbb/plugin/2/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AfmZi9Sse0QWALJcaWVoLNNPEYOD69P82pX0G4Ti_OdqFSFjpOH4ffNja1TZ5s35NWDLjp3ZCncP75jc");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjA2Mzk5ZDU3YWRkZjkzZDk3ZjVhOTEyYjlkMGFkNDQ4NzllMjVmYzQ2YmQwYWU4NGM1NjhkNGRjNGRjZjY3NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjdUMTk6MjU6MTcuOTAzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9aS05jaHRCeldXM3Q0OWdBR1ViTkY0S1NjTmprcC1rNkRVZTNBdXY2UVcyQU5CaUJzaDhmZEE5a0Zyajh5Q084cW51NEVHNDh0OVRKMGpwMnRYZ19CM29CaGdnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6291259d844aa', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6291259d844aa', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6291259d844aa', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6291259d844aa', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6291259d844aa', 'card', 'buynow', 'rect', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6291259d844aa', 'card', 'buynow', 'rect', 'black');
});
}