if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/h220yvteutim/plugin/9/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AWB5IMvaphjNZyIh_Sli7ow8o3DtkHCHuIolu0aEtu8ks3l9G60Vn20Wl_hZJ0PJU5HxBpfz-lN2ElpB");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWMwZDFlNWQ3MzZlMTA5YTFlODNlZTJjOWY0ODEwYzNmZWNhOTA5OTRhNjQ1YjI3ZTcxMjA5Yjk3NWFjMDI0OXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDYtMjZUMTE6MjE6MTcuMzY0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBlalNMVGdKSnQyQklOb1BQWG95QjQ0RUdMaTN0Q0JFOExtSjRBa1VPSDRQZ1UzNk85NXU5aUQ5R3VseTJlcjdVS1NfaGIxb2ZFT1E0YldEWGxUVGEyeU5WVmlBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b8412cded10', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b8412cded10', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b8412cded10', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b8412cded10', 'paylater', 'paypal', 'rect', 'gold');
});
}