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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjg0ODkyM2Q5MDgyZGU5YTgzMThiZTQ5ZmMyNTA4ZGM5MTBlNmNlOGFlMmFjNWExZGQxNWFiZWFmM2U5OWUxOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMDRUMjE6MDM6MjYuODc1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9PR2MxcHRxdWFMelBnSE14YW1KcDc2MjFhVkh6Tm9YaFBldk5HTktVajU5NkdyNzFrbktuQnVEUmJPZk9xeE5Sc2V0akxfSDg1bjFZMG5aRmNEd093UE9uY1lnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AY1L4WIHM8TgPtYisXf9d5-7fL96CtT7j0xE8RV3LkPurGXUon8QiMFetxgccJniORjp2TWfirqoZ_32");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjg0ODkyM2Q5MDgyZGU5YTgzMThiZTQ5ZmMyNTA4ZGM5MTBlNmNlOGFlMmFjNWExZGQxNWFiZWFmM2U5OWUxOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMDRUMjE6MDM6MjYuODc1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9PR2MxcHRxdWFMelBnSE14YW1KcDc2MjFhVkh6Tm9YaFBldk5HTktVajU5NkdyNzFrbktuQnVEUmJPZk9xeE5Sc2V0akxfSDg1bjFZMG5aRmNEd093UE9uY1lnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('647d09dcda868', 'paylater', 'paypal', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('647d09dcda868', 'paylater', 'paypal', 'rect', 'white');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('647d09dcda868', 'paypal', 'buynow', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('647d09dcda868', 'paypal', 'buynow', 'rect', 'white');
});
}