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/y1g27aamp6y5/plugin/3/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ATn-gSfBbyhN2v-fh2ovY4FMMcX0CUgNa4yqzE5dsqbye352790ZDg57sC77kH_3TIj2z3_lR3IcKzUP");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMGY1ZjhjYmYyNTVkYWExNzhkOWFhODJlM2NkNWRlMmI1NjQ5NGRlMjMyMGZiM2ZhZGY1MjUyNDc2MDJlZTM0ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjdUMDQ6MDg6NDkuNjI1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBpQ29yTGs3c0Y1ZF9VS245TXA2Z0VLcTFGYjU2VXYzSXNDdmNOM3J3d2dyeVl4N19PWDMwM1N1T0ZYQUVtN1VOeHJfc09aTGlDb0xsdGJBa2ltalBodW9XRHFnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d34e5150c3f', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d34e5150c3f', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d34e5150c3f', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d34e5150c3f', 'paylater', 'paypal', 'rect', 'gold');
});
}