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/ap0wdwu07o0m/plugin/11/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZFXY3Q8Esh6kW9N2StyLgEjzs-KVAPaKPBmKTy-NA7GhHjwVhxzEwk5lIDYgPaYidSUthIt4MeLaQ9B");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmQzZmQ5NWZlYjJjZTY0Yzg4YjM1NGU2OTA4ZjgxNzNmOWJmNmFkNzQ3Mzg3ZjUyNDcwZmU0ZThhOWUyNDA3YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMzBUMDk6Mzk6MzYuMDU1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1PY2ZLS21kWXdyczZVXzh0dm1HSmJaQ25VR0pmVzY0aWM4UXJYS0FaS3Q0RkVCR1QzWHBUUklwSG92RlFabjYwRnpFY09rczQwcFhYMXJlSDZhdDFmUXE2MGlnIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('642566966b8f5', 'paylater', 'paypal', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('642566966b8f5', 'paylater', 'paypal', 'rect', 'white');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('642566966b8f5', 'paypal', 'pay', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('642566966b8f5', 'paypal', 'pay', 'rect', 'white');
});
}