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