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/7woa4tw7wso0/plugin/4/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AZ-melK30t3uzJmH0Y8vZLMGTNhAKYm2YduDRRFvOIONjiBsznN89gbG2x-VLaIG__Qy0G3jhAVLql8O");
script.setAttribute("data-currency", "HUF");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmEyNzQ1ODM0MGJmODM5NjM2Nzg2NTc4ZDM0OWI4YWNhOGI0ZTBhMjc4MTkwMzZiZTI5MmYzMWFkNzZiOWY5OHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDItMjJUMTQ6MzI6MTMuMzk5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5faGtMNms4R1NxT09PWUJhNTZfVEstOUVnZW9HTTFQZVU2WWVQaElZd21KWm9WN1NzUjM3UWJ3MnMxMzNmUGotUEFfQ2x3VmRnUUZLX2duMFYxQVdKUGNJamx3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AZ-melK30t3uzJmH0Y8vZLMGTNhAKYm2YduDRRFvOIONjiBsznN89gbG2x-VLaIG__Qy0G3jhAVLql8O");
script.setAttribute("data-currency", "HUF");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmEyNzQ1ODM0MGJmODM5NjM2Nzg2NTc4ZDM0OWI4YWNhOGI0ZTBhMjc4MTkwMzZiZTI5MmYzMWFkNzZiOWY5OHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDItMjJUMTQ6MzI6MTMuMzk5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5faGtMNms4R1NxT09PWUJhNTZfVEstOUVnZW9HTTFQZVU2WWVQaElZd21KWm9WN1NzUjM3UWJ3MnMxMzNmUGotUEFfQ2x3VmRnUUZLX2duMFYxQVdKUGNJamx3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65d7656e20338', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('65d7656e20338', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65d7656e20338', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('65d7656e20338', 'paypal', 'buynow', 'rect', 'gold');
}