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/wdwdyhltmcny/plugin/12/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ATwEJSF1vO4m2GQrlSBfN_i-JrVkoXzvft3WFYLlCsm9PtvrU5a30YosN8-uhryIUhlxJpcJMvwncD11");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjAwM2FlY2QzMGZjNTJlMjQ1NTM4OWRlMGVlNTllM2I3MDE0ZGE0NjA0NmMzNDQ1NjFhMjQ1NmNlZWViODlmNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjdUMDY6MjU6NTAuMTE5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1HdUxxeHBaRHRWRG1vZ2gtZmpGblNnZDNrOXdfdi1iV2laVjlIc2E3VW1NXy10SlFLVFVIWmFRMFFqaUZRLWNTRkE0NjVJTnB1Z3QyUjdMWnNUWm15cWtUdlJBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d37bbe7cf46', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d37bbe7cf46', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d37bbe7cf46', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d37bbe7cf46', 'paypal', 'buynow', 'rect', 'gold');
});
}