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/utxb9kbvmgk3/plugin/26/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Adj-iNeHwSXq-sCNqMMW6lWDYqwb5R2kqgg-EKyZv23j-p2bGooYRFfIRCuX6oHgaF4GAeeYuqZOQbfQ");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTU2YjM5NTVhNjk1NGY1MWU0MzQ0NDA1YzgzYWIyNmIzMjUyMGI3NTRmYWIzZGU2NjY5NTJlODM4MjM4ZWE4OHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDdUMjM6NDc6MjkuNDQ3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBqSDRvQWxTM2o3aFVVVkwxQ1lYLThmendBYWhYVG9QOEZSZ0paVml4VHkwb3ByeFBlS002T3d1ZmNYdl9oTG9Kamlhd0FabjIxRFdXUlk5ZkZ2N1d0UmNPOVRRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('66dcf33c7e43c', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66dcf33c7e43c', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('66dcf33c7e43c', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66dcf33c7e43c', 'paypal', 'buynow', 'rect', 'gold');
});
}