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/140n2eyfgmvy/plugin/11/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVbjmd5wmafYHLBeHa5JbPYEwgrR0fswtRtyY6rgn1hRCl-Qm17nxnIhUNzvwwUIXTQgrHlO0JcffjJG");
script.setAttribute("data-currency", "CZK");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODRiZTEzNTAyZjE2MjBkZmYxMjY3M2JkNDg4MmZlM2RhYjk0ZjJiNDg0ZWQ0ZWRiYzQ0YjJjNWRiYTk2ZDBmNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMDRUMDM6NDc6MzMuNTI3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU51UDdUa3J2cUtObFFRZGVMbmRRTkY5UVo2U1E2RGtvY2Z1LVd6ZVl0YkNvbWRIa2N6b1ZSTjh3S2dlSUlMUGVvS0diREZUUWZoWnQ3RHFkYmRnalV2U2VsVVJnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('651ce0551545f', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('651ce0551545f', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('651ce0551545f', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('651ce0551545f', 'paypal', 'buynow', 'rect', 'gold');
});
}