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