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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjJjY2JiYTM1NmY4M2M3ZWFmNGMyM2YxOTBmMDA2OTFhZDM5ZDlmZTllZTVlNTJkMmY4NTJiZjlkZWI0M2FiOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDctMDFUMTY6MzU6NDkuNzYyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9OUFFacmplclVISkxxQTdDdHVvN29UNVdtZllYUDRsOFhyZ3owcnlrY0d6eXBUSmNTbXp0OEQ4UWlTbVpkVFE1b2dLQmxoRGFUbndQaG1LdkdnQW5CTWt5RUV3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bf22656acdf', 'card', 'buynow', 'rect', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bf22656acdf', 'card', 'buynow', 'rect', 'black');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bf22656acdf', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bf22656acdf', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bf22656acdf', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bf22656acdf', 'paypal', 'buynow', 'rect', 'gold');
});
}