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/bk92apz5op2u/plugin/6/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVeKGiJqNR10U6AQjqXz68NuF6jzXtFllDB6P308-KP78HBYQQ0wM6ln-2IDUbSgvhEmY5vmdObGJTuG");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmE1MjgxMGNjMjk5NzMyNDNlNjUzYTQ4YTRmM2QxYWJiM2YxNWNhZWVhZTI1M2IwZGYzNzVjNDRmY2E0ZDI3MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDgtMTJUMDU6NTg6MzguNDgwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1BNF95SGdwM1RfWXVGU1dBaWVUTU1OUFFWZnI2ekJjZGY4YU5qLVRKSGU4UnF3S2taM3ZDaTVHZVRGSGszLTFpRG4yMmJuSjVYMnZRbFpseXVxNnNkU0NRblpnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62f5ec0e17418', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62f5ec0e17418', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62f5ec0e17418', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62f5ec0e17418', 'paypal', 'buynow', 'rect', 'gold');
});
}