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/faoh9halel50/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AWxdMGSVNoizpZFUkRN8xeQdHuitTdVQW1MJGBSzChkufdWg10gZB0LuAXzreyiFNPOj_drBARnGIHbF");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMWI5NmU3ZmFlMDQ5OWIzYTU4MjM3YzFmM2JhZmUxOTIzZWI4OThiZWYxMThhNzQ0NmQ0ZTVmZWIzZTU5YzgxN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDctMDFUMTY6MzA6MTQuOTM5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBFR3hKbXNrMW1GQ0hmam1pNkZwRnV6UzVVMEVBZEE0UVRoZkFocld1cThjN0ZZNWlaY1hxSVAwZGF4bnpGWS00ZHIxd3R0clliakdnXzRlcHc1d1pVa3NlM0xRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bf21168a740', 'card', 'buynow', 'rect', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bf21168a740', 'card', 'buynow', 'rect', 'black');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bf21168a740', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bf21168a740', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bf21168a740', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bf21168a740', 'paypal', 'buynow', 'rect', 'gold');
});
}