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/mp5m5iv3e9pv/plugin/5/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVOKKpsx-G5ZLAEyKNjPfgmrEKZU28ztAfj84FzYzNwYZFup_N9ilU1kxDPyT7WKGSmmp2zR_ouFBd9X");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzY4ZjY1YmQ3NTg1NThhZTc5OWVhNjA3ZDAxMzFjODkwNTczMWJjZGViYWU5NjhkY2FmMGRiNDg4NGU4ZGE2M3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDctMDJUMDQ6MjU6MDkuNzY0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5KbzhiT3UxVHJxcXlRZHdqbzU0QWNPYWVBMnJXcTlnNkNjQXlFZXJZdzRHcHI4cm5GN1Q2QV9fQTRGajZuUWVaU1VfY0JoaGN4eVNNZkxNbEJPcDdHWGxBZExnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bfc8a4e8a8a', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bfc8a4e8a8a', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bfc8a4e8a8a', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bfc8a4e8a8a', 'paylater', 'paypal', 'rect', 'gold');
});
}