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/xnv804jkug1l/plugin/10/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AU6fFh8GMNGom5tk5n6Hkr0Ekb2yeKrG4omQds1tLzFH4okipt-SxEMdtBmFmqUv6V2NkSPESx9O5ADD");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWNhYzQ4NWY4ZDRhMjFiY2U4Y2FkN2VhM2I3M2U3YmI5MWU3YmM2NzU1Y2Y1YTdiODJlYzM1ZjQ0MmY0NDI0ZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMTlUMDY6NTg6NTQuNTA3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU45VGpFQ3B5UHdBR0staU56R05IMG9CVFJJUjV5NWJ1M1FqM2hOTkd2TkZHR0ZnOWloZ2ViUnNqaWRNUnYxWEY5aElsVExSUml5c0htckpiVHdBOXU5dVc1SW5RIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65f937f4d08bb', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65f937f4d08bb', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65f937f4d08bb', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65f937f4d08bb', 'paypal', 'buynow', 'rect', 'gold');
});
}