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/o5q54sllbt89/plugin/8/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQis2o1PITJJGhm0ZdcKoeg-Zpg8RfNDZJVTVB08acm7WYKW7COukdu1U-TtVBVzIqM2xWT6wAzDGyzd");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzFkZTgzZGVlYmY5NGIwYjM2OGFkMDBmNDg5ZjRiZTFmODIyY2NkMjYyNzk3ZjdiNTZmNDRhOWY5NGEyYzQ5M3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjNUMDU6MTA6MjAuOTUxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU55ODlEX29SSTVFM0ZLR2JRTUZIYThMWGlZQS1xR3RQQWVQQ3Y1eUlyUHRzbmVKV1FDZFN0V2ZZU0g1d0hmbFNlc2dDVFM4NmYycUlTeWp4SHVuUHQ5ejZPV0l3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('662742bc5e2d7', 'paypal', 'buynow', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662742bc5e2d7', 'paypal', 'buynow', 'pill', 'gold');
});
}