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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNDY4MGYyNTIwNTIyOGI1YzFlMTczYWU1OGIxYmMwODZiM2Q0Nzk3MjE0YzRkMzA5ZjczM2U5YzVkOWQ2ZDIyMXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDYtMjlUMTM6MjA6MTQuMTYwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5jcGtCem5hMkp2NXZtc3N1aDMyN1VGY2NYcDJxSjhCRjlpVWdndUlWbllHY1JGUUdiT0g0ZXd2UXhaMWsta1NmX25YY2JmdFhGeWhGV3hnM1c1MVp3V3RyS2R3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bc518d23e73', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bc518d23e73', 'paypal', 'buynow', 'rect', 'gold');
});
}