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/am75i4z1sc8c/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AW2BwbOSucbgKvBCQqJkXCrclfqQj_InOBbAQ98AmCf6sWdsA4hZEKp7ZEAX7QTi2zEsSeZ7d0RFk1dT");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTA3NjcyY2YyNzAyNGFkOTllODkyODIyMzc4ZDM4ZGU0ZTk0ZTgyYzgzNzU4NDE0MDFkMjk0NmZhYjllZWYxZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMDVUMjA6Mzc6MTIuMDgwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBBVTJVS3VrckZFWHRhYnRoa3ptUmdyeHRybWppVUVXcF9nV2tNaWZuWXRqeGVFUWRrSm5BOEd0QUJkSEJFT0ZWV093M1I3WDgwbUVoYzJ6YV9URFdBMFJXY2RnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63b7388a949c4', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63b7388a949c4', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63b7388a949c4', 'paypal', 'checkout', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63b7388a949c4', 'paypal', 'checkout', 'rect', 'gold');
});
}