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