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/76kjn530wnk2/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ASABi4WnJBZJMdipzAdwe_ciWWNF3Ja91XuoXvH_m4i1S4tV7F5gtWSIzL-hH_2inzMcpiu_2UIkIT-b");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNGJlNzg1YzI3ZGM4OThjNzI1ZDY4YTZmNmQ3Yzc0MzBmOGI5YmM1YmI3ODgwOGE5Mzk0ZDRlYjNhMDdmODFkYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDgtMDdUMDA6MTU6NTcuMzgyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1TNFk2V3M0NUg1eG9PbXR0al82S19BemQzcEdtM2xSNk1TeTRKMFdzMHlMYm01M0pmZUdEd0QxX3JjbW5fM3QwVC1NV2luSWhralV5R2RmWnVNVkJDWGNBRnBRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62ef0a6e3d112', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62ef0a6e3d112', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62ef0a6e3d112', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62ef0a6e3d112', 'paypal', 'buynow', 'rect', 'gold');
});
}