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/rp9xg4ckd20d/plugin/32/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ARQwLx5n4WUvNCWMGDdDRuQi1lrjLWVM2W0hVomwdqA3wuDsjo3qxiY4-ZDQ7DUBOAfE2kZCxsfOFTKn");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTU0YzQzMmNmZDMwZGM1NzFkZTZmNWZhNDFjMDY1NmI0ZWQwMmQ0ZDljNmUzZTEzM2RjYjIxMzFiYjdhNDQ1OHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDctMDVUMTM6Mzk6MTcuOTQzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBYcGN6LWdxUDhFTUl1TUh3R0pJdFZvUVhCZWxXSlhNVTZyS3d5YV96RTNNRUZnbzRPLU5yc0hHUEJfSWRpNTVCa1QzZW1KaHRMejNLMnlXMkFQOWkwS1FkOGl3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62c43f057492e', 'paylater', 'paypal', 'pill', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62c43f057492e', 'paylater', 'paypal', 'pill', 'white');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62c43f057492e', 'paypal', 'buynow', 'pill', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62c43f057492e', 'paypal', 'buynow', 'pill', 'white');
});
}