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/1ukve4rrx6jg/plugin/7/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AYon4CazGcnkA_wFZW5KYa2tnZiTp-WrhfhKCYSAd0-c4KLf2qI4R6e-oWLDtVB74woBQY0b17FMSV7x");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiM2ZmYjY0YTY4ZThlOTIyZmRjMjdmOTgwMjhmN2ExMmQzM2VmMGJlNWU1OTA5MGNjMmQyYjczMGE0ZjEwMzRjNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjlUMDY6NTU6MjguMjYyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5vVWtqTWtjaG9QZFhKRTN5YlF1cW0weU1PdWhScUxPX3k2QjhoSURpUE1pX29CVi1zenpwY2cwNXpmM19nTVBkcE9BdGNTYldBR0tRdk85dktVMXZlV0tHSy1BIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d618606c6a9', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d618606c6a9', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d618606c6a9', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d618606c6a9', 'paypal', 'buynow', 'rect', 'gold');
});
}