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/yds6snu0cmne/plugin/9/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Ab_VBFU1-Y-UAAtcDPpCKVNW_CDgFR37snkTcNgkB7m2kVc2Stsr_xTaghw0_xceM-0VuVHFawVChzC7");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZWE2YmU3ZThiMTNmMDFkYjNkNWM3YzhkMWQ5OGMxODc3YzVhNThmNjdhODFlYTk2YjBhMjE3ZTA1NWM3ZTI3YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDYtMjZUMTc6NDQ6MzMuODU4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5EQ09GbnZ2T3gzMzVYaWVEbDVsMDRwSlIycF9RU3gtQ2JQMUlta00wRmNjbVhaaE9aemFOc015ZFZtVG9qZE12SWlrWHR4TWJqWFFySWk1MG1QR29DRHBJaFhRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b89b017ee3a', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b89b017ee3a', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b89b017ee3a', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b89b017ee3a', 'paylater', 'paypal', 'rect', 'gold');
});
}