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/2120n3goukf3/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AU7xo2MnW8e1ipGYKEJDEbtr9Q5erTCwr3LwZv_FQ3pP754g2sELCVP9LiERSofrIjifUvN0Kj5OJdQZ");
script.setAttribute("data-currency", "CZK");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTMwMjBiYTU4NjM1N2NiZWExZjg5YWYwODkyODg1NzI0ZDM4MjliNTMyMTg2NjI2NDBhZmIzYTQyM2I1OWU0ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDctMDdUMDg6MzA6NDcuNTUwNDkxMjA4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5jX3lBUmxZNFNxTXVCQmxLeTRIQlNNNzJjM0lqNHVpdFctN0xobFRac1BvdUtNXzhNSE11Mnc4WTJ4aEYyUmd6c0dDejRkMmVUQkFXSGZvaHNGRXFsa0p3eldnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('686b85b71d407', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('686b85b71d407', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('686b85b71d407', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('686b85b71d407', 'paypal', 'buynow', 'rect', 'gold');
});
}