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/k5swtppid9mk/plugin/27/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ATqF7b6d_ix4tFz6AMXTFeGdUCvKmusYVz-XuDQ-ia3TA2aaob40qbQOlv_ZA0OmVg0pvYOimCO3wrHk");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNGI0NTU1YTFiYmUwOGZmZDBkZmE1ZjQ1NTA3YWUxMmEzNWU5OTU1NWY2N2E2MmJhMTI1Y2NlYWI2Mzg3YzY2YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDctMDVUMTY6MDM6NTYuNDU0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5zc3REaHVSRUR4dE13clBJbVYtWmlrdk1Ib2RQSEZDM1VJTE1vX2JsYWp2VmFCRWE0UXhIMW9JMm45bEJNNW9ObkREWUpwc29SY25STVotWEJvbjQ4Uy1VdlpnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62c460ec0f71e', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62c460ec0f71e', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62c460ec0f71e', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62c460ec0f71e', 'paypal', 'buynow', 'rect', 'gold');
});
}