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/fo55nitsrt8j/plugin/88/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZfpBcz7z-bC1M7_SIiCafiyB-C5CKBCVHgkEOsTlOmxqDIBmiO-lvIZoKD5ao5nhUfXhMtCLqKr40Mm");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTJmYjcyZTdmMWY0MjUxZDIwMTcwNzgzM2RhNzQ3MzI4MDZhOThmN2U5NGUxZGEyZWI4ZGMzYWJhYWIzMjA5YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDgtMTFUMjE6MzE6MTguODI3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBWUkp2RHN5a1lhVlhUbUVEd1lfbVFzd01OSHBuV09uU3lpOWVLSk92aFZENzNzRmlEM3lkaGpZcUZxRWd0NVZkWnVhQ3JWWUdRYTRXeVAySzZIdlJPT2ZDWHlRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62f5777d8fcf4', 'paylater', 'paypal', 'pill', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62f5777d8fcf4', 'paylater', 'paypal', 'pill', 'blue');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62f5777d8fcf4', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62f5777d8fcf4', 'paypal', 'buynow', 'rect', 'gold');
});
}