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/fbzzik6xequc/plugin/5/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AXFtMg9frqhJEKqYGYj8IcvlsGxN25cbfsurV7wJdOCufNXR-MT7Z7IOngJc9R_zChzQNge42hYkJUR0");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZGJkNmQ3MGNhZDc5YWRiZGJlMDMzYTI0NGY2ODIxMDRhOTIyNmZiYjQzNGMzY2FhMjYxNTI5MGM5NTY4MzNjN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjhUMDc6MDk6MjcuNzgyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBKVEw4ZWszaWN0MlM2by1NaUl2VHNKRXllYm1TallibHA5eDVSVU1fd2dQSms2TWdjRW41ZlR3djZCdUFfZmh5N1haN3lqdy1BaHZFT2JlWTJfWFU3YmVrOWhRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6291caa7703d1', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6291caa7703d1', 'paypal', 'buynow', 'rect', 'gold');
});
}