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/rgsrfv3g1jg1/plugin/29/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AaWDKmEayQh8QwxKPWW__EZ3c7c3Do_0uJj4MrkzJ4IctUDXqmmSTBn7JiCdJ2-w2OLaYx1xk9VyElfe");
script.setAttribute("data-currency", "HRK");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTVjNmY3NmY4MjBmZTZmYjU2YzhmZWFhOTAxNGFkOTE0OGYwY2UwZDBkM2E1OTk1YjJhNWUxNmNiMjEwMGUyZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDFUMTc6MDg6MzcuMjg0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1neS1RWnV1SVBSLTEyRVRhemJqeTAxMTJ5a0lyNFlWRzFJVjVZOVphLVd6T1NDaTh5dWtFTXUxVWZheHJCVDJFS3hWWVpPa1N1dUhTc0o0eXc5UmExTTFJTnBRIn19");
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", "AaWDKmEayQh8QwxKPWW__EZ3c7c3Do_0uJj4MrkzJ4IctUDXqmmSTBn7JiCdJ2-w2OLaYx1xk9VyElfe");
script.setAttribute("data-currency", "HRK");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTVjNmY3NmY4MjBmZTZmYjU2YzhmZWFhOTAxNGFkOTE0OGYwY2UwZDBkM2E1OTk1YjJhNWUxNmNiMjEwMGUyZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDFUMTc6MDg6MzcuMjg0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1neS1RWnV1SVBSLTEyRVRhemJqeTAxMTJ5a0lyNFlWRzFJVjVZOVphLVd6T1NDaTh5dWtFTXUxVWZheHJCVDJFS3hWWVpPa1N1dUhTc0o0eXc5UmExTTFJTnBRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66327b7686f2e', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66327b7686f2e', 'paypal', 'buynow', 'rect', 'gold');
}