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/xj8d4sahw33f/plugin/10/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AbhxneadOsjfi2vov5MZvcbQpQ-Qv3hQnnLtfszi5jrEjw5Sm4BiNdVqhmlyYiLe567FxTNMUabKRh09");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNGQzNzNkOTc3M2ZlZWE0YmZiZTVjNmI0ZmY0ZmJiOWI2YzE4ZWU5NTVhYjE0ODliZTFjZjcwOGM5MDhkN2MwYnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDYtMjZUMTA6Mzg6NTUuNTQxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1Qb2lnWXF4M0tYWlVnUVlqY25RSXhqSWhKYVA3T0w3TFEzeUFZcGkyY3NHSWhHYzNyRU1paTBqbVVyNkY3RkJadHNmMW16bFpobGlUajNtTGo4Y2ZzaGlHb3dBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b8373f39895', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b8373f39895', 'paypal', 'buynow', 'rect', 'gold');
});
}