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/a392fx7fx160/plugin/5/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AYxz1-FgJZfJDmp2zZHt197MZ_6O0b5baY3qsWIoIiQrnQ1xrZM2NCkS5SjeaHCAQ9hl2_Sp2aOwnYEc");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmI4NDQyNmViZjg1ZTdlZDEwYWFmMjQ2NjhkYmRmY2YxMWYyOTE5YjI4YWViOTVlY2E4M2NlZjI1NDRkMjAzOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMTRUMTY6MTI6MDIuNTgwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1QMUtXSWhlOUk3S2JORkNvc0ZDNFA0Q0NOanAyc3dTXzRQY3F6M181V1AwUjYxNER4U3A0aVhKYklCcWJEc20zLWFjVERRX1JENWl4eC1PMW03M0Y4VzJOUThRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65f32e4f729e8', 'paypal', 'buynow', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65f32e4f729e8', 'paypal', 'buynow', 'pill', 'gold');
});
}