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/xikvbcwl22la/plugin/18/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AY1L4WIHM8TgPtYisXf9d5-7fL96CtT7j0xE8RV3LkPurGXUon8QiMFetxgccJniORjp2TWfirqoZ_32");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWUwZjg1ZWE1N2I0ODA2YWJlYjBmMTY4ZDc5ZGUwYmZjYWFkMzY5Nzc2YTBiOWE3MDdhMWEzYTRmMzY2OGZkMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDdUMjA6Mzg6MTUuMzEzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9SQ0Z2UG5rYjBOYUtsbWtib1prZ29vUlhBRmxBSkxhVklSQlgxd3ZpdGZjc2dDU2RIQnotMFVGbkcwb192RGN5U3U2Y005YS1ETmFXN0F2WUJ3Z1BDODdmVThBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e2be4cda0a3', 'paylater', 'paypal', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e2be4cda0a3', 'paylater', 'paypal', 'rect', 'white');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e2be4cda0a3', 'paypal', 'buynow', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e2be4cda0a3', 'paypal', 'buynow', 'rect', 'white');
});
}