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/3m9k5phu1v3o/plugin/9/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AbjjeGp3NlTYjmS47qLSUM8v_Tzq8dacdyJXfejSCVCGA3R-RbiwRtgkVD8q-LmuZaPZiFFN4RZnMiFv");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmZhM2U5ZmQxMThjY2E2MGIyYWMzYzI3YjA3MWZmNTdiODI3NzgwYWRmZWM3MGJhMmRlYTdjZGQ4Y2RhZjA1OHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMDdUMTg6Mjg6MDYuMTAzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1HclV2ZXB4MUg2X2ExXzNEbU9HMFItbVN4QjZKVWw5dHhuNms1SjFPMVh4b09BUGVqcFZvZ3NjdW1YZTRlWDhrRHdTOTNpOUFSQnlaSXA0ZXM0dmVFYUNQWEhnIn19");
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", "AbjjeGp3NlTYjmS47qLSUM8v_Tzq8dacdyJXfejSCVCGA3R-RbiwRtgkVD8q-LmuZaPZiFFN4RZnMiFv");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmZhM2U5ZmQxMThjY2E2MGIyYWMzYzI3YjA3MWZmNTdiODI3NzgwYWRmZWM3MGJhMmRlYTdjZGQ4Y2RhZjA1OHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMDdUMTg6Mjg6MDYuMTAzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1HclV2ZXB4MUg2X2ExXzNEbU9HMFItbVN4QjZKVWw5dHhuNms1SjFPMVh4b09BUGVqcFZvZ3NjdW1YZTRlWDhrRHdTOTNpOUFSQnlaSXA0ZXM0dmVFYUNQWEhnIn19");
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('64fa1ae393f0f', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('64fa1ae393f0f', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64fa1ae393f0f', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('64fa1ae393f0f', 'paypal', 'buynow', 'rect', 'gold');
}