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/7yyvmb6aozh6/plugin/2/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AdUAjrYQCb4HEVUkiEmzUQwKquOMGVycU3xd1R7cscoy4ySTo0DawMWOp8Me3EHSZH7Pv0wPM5nQKNwv");
script.setAttribute("data-currency", "CZK");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjczMzIzZDA2ZDg0MWE0OGU3OWNhZTdiMzIwODdkZDZhNGMwZTEzZDE4ZWI0N2I2MmI2MGE5MWJlODdkODk5M3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDYtMjlUMTY6MzA6MTguOTUzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9RZ2Q4cmtOUTdESHVwSjFKN042aWk0TGZVU3B1M3RKazM1b0FuUEN4THlUTW5udnp2cTRSTjFIaTJEcWgzc2xicXR2SG00UldaQkFTN2J2ajA2UDg2RXAzLV9nIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bc7e1a8430f', 'paypal', 'paypal', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bc7e1a8430f', 'paypal', 'paypal', 'pill', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bc7e1a8430f', 'paylater', 'paypal', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bc7e1a8430f', 'paylater', 'paypal', 'pill', 'gold');
});
}