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/agj6azwzjkcd/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ARKgZAgeMQSZP0WfKIGbX1zmrdhMWe9z1Dck-2SGV1Gt2cr9XaQoHNixZD85ya8dxOZ6HuAIBe9IoxE3");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDI1YzY4NTNiM2JmMDY5Y2U0MjU1ZWY3MzI2NzE5NTExNGFlYTk4MjBhNGU0MDY2MmU4Yjc1ZjAxMDE0OGNkNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjBUMDA6NTU6MDAuMjM4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU02NDIxR3NMYTR2ZEJNOU5YR2pZSnJYTWZNV3RMOXlhT1hfU3VyM1duckhnMmdXSWJZWWkzaHgxUUVRN2h6LUpkV2ZuSXljanVjTzZqUUxOOEtXWFFtOWlwbWxRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6286e6e31ef0d', 'paypal', 'paypal', 'rect', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6286e6e31ef0d', 'paypal', 'paypal', 'rect', 'black');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6286e6e31ef0d', 'paylater', 'paypal', 'rect', 'silver');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6286e6e31ef0d', 'paylater', 'paypal', 'rect', 'silver');
});
}