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/823apjhbftvy/plugin/6/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AaA38qKmUXDbLYYHxlx3r2a1awKcbqKJ_mMemFU6d4CqX02KkFNme1Z21HunDiE1ueD08FeZCuST5KJ_");
script.setAttribute("data-currency", "HUF");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTY5N2U2N2RiMjI0MzNiZjEyYTY4ZDZlNjVmYTExZTY3OGJlODkwODIwMzUwNjhhNmJiZTM5NWVhNjRjYTk3Y3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjlUMTQ6MjI6NTMuMjQzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9pYmdKZWtrUWdQRkZqUlYtTjdwMlFWc05tMXlXWXNHMWwzRFA5QU1MN0xvTDZ1MkpmczN1Wm1PclZ1elpSb3V6aUl0cVlMR1JNWlJ2RHgwNkg0cjZ4M1JNcHlnIn19");
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", "AaA38qKmUXDbLYYHxlx3r2a1awKcbqKJ_mMemFU6d4CqX02KkFNme1Z21HunDiE1ueD08FeZCuST5KJ_");
script.setAttribute("data-currency", "HUF");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTY5N2U2N2RiMjI0MzNiZjEyYTY4ZDZlNjVmYTExZTY3OGJlODkwODIwMzUwNjhhNmJiZTM5NWVhNjRjYTk3Y3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjlUMTQ6MjI6NTMuMjQzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9pYmdKZWtrUWdQRkZqUlYtTjdwMlFWc05tMXlXWXNHMWwzRFA5QU1MN0xvTDZ1MkpmczN1Wm1PclZ1elpSb3V6aUl0cVlMR1JNWlJ2RHgwNkg0cjZ4M1JNcHlnIn19");
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('6606d2a51ce2b', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6606d2a51ce2b', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6606d2a51ce2b', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6606d2a51ce2b', 'paypal', 'buynow', 'rect', 'gold');
}