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/kron5ecnyez4/plugin/6/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AXSxutv_ilt8n7wLZSzO_WJPmwm5FFjj42kW21zP31ui9c8K2S4x_mU5tPkZ5ge-4sLX2hpdmnzBi7ip");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzRhZmRkY2VmZjcyM2FiOWRlOWY2MzBkODBiYjM0OTY5MmIxZTc5OTAxM2EwMjYyN2I4ZTFlMjYwZTg3Mzk4ZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMTdUMTM6MDU6MDIuMDc5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9WTVU0T3RXVURrRWVjSm0ydjNTcnRlUVhXYXZ6dmJjWFF0b3RKSjc5cnlaaldycjRpUlV6alA4RDBZTUFqZGNSdkhrYjFvM0Z3SDJ5eTlxbGUxTkZWMmJBZmpRIn19");
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", "AXSxutv_ilt8n7wLZSzO_WJPmwm5FFjj42kW21zP31ui9c8K2S4x_mU5tPkZ5ge-4sLX2hpdmnzBi7ip");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzRhZmRkY2VmZjcyM2FiOWRlOWY2MzBkODBiYjM0OTY5MmIxZTc5OTAxM2EwMjYyN2I4ZTFlMjYwZTg3Mzk4ZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMTdUMTM6MDU6MDIuMDc5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9WTVU0T3RXVURrRWVjSm0ydjNTcnRlUVhXYXZ6dmJjWFF0b3RKSjc5cnlaaldycjRpUlV6alA4RDBZTUFqZGNSdkhrYjFvM0Z3SDJ5eTlxbGUxTkZWMmJBZmpRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6414658d9230e', 'paypal', 'buynow', 'pill', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6414658d9230e', 'paypal', 'buynow', 'pill', 'white');
});
}