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/ui9nj2po1q15/plugin/23/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AVt34eNj7EViern2JJK8cjdqwK9gTfcv6a_T6tVKrwDoewO3UcIYpEgGdeBmNUWe1gRmHHTejmFu9eFu");
script.setAttribute("data-currency", "HUF");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZmEyMzM3ZmM4NjA3YTRiNTQ5Mjg2NmE5OTZkOTYxMmM1Yzg2NDUzZmExOWQ1ZDdiNzllZmI4Mjk4MTIxMzlmNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMThUMTU6MzI6MzMuNTU1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9LbmJ4NnU0cFBlSzM1Zy1VYVBmdWN1Z3QxMG5LX3NSN0dhV1ppR1VpRUVQZ2RjVVAtZUNwYVFwTTFwT3BwSGprbk1HY1NXX0l1U1BYVFJYYlNhekJlY29zbTZBIn19");
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", "AVt34eNj7EViern2JJK8cjdqwK9gTfcv6a_T6tVKrwDoewO3UcIYpEgGdeBmNUWe1gRmHHTejmFu9eFu");
script.setAttribute("data-currency", "HUF");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZmEyMzM3ZmM4NjA3YTRiNTQ5Mjg2NmE5OTZkOTYxMmM1Yzg2NDUzZmExOWQ1ZDdiNzllZmI4Mjk4MTIxMzlmNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMThUMTU6MzI6MzMuNTU1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9LbmJ4NnU0cFBlSzM1Zy1VYVBmdWN1Z3QxMG5LX3NSN0dhV1ppR1VpRUVQZ2RjVVAtZUNwYVFwTTFwT3BwSGprbk1HY1NXX0l1U1BYVFJYYlNhekJlY29zbTZBIn19");
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('662142ca0fd6b', 'paylater', 'paypal', 'pill', 'gold');
});
} else {
renderPayPalButtons('662142ca0fd6b', 'paylater', 'paypal', 'pill', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662142ca0fd6b', 'paypal', 'buynow', 'pill', 'gold');
});
} else {
renderPayPalButtons('662142ca0fd6b', 'paypal', 'buynow', 'pill', 'gold');
}