if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/bnkqqog0qzhk/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AR6vVDo7QXfaPwSEL2REO1PrrOW9Mz5Z7tsseFsG5bAhU-BeHo6HXG3Q6PHbjmniHgyC5XCAkQHVHBVw");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmVjY2YxNWFjMDFjYWIyNDcwZDJkZDBhYjA0MDU5ZDAzZDM2OTUzODhmZmM4NzU2ZGRmNjBiMTcxZGM3MzhlZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMjNUMTM6NDM6MDcuMTg5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU45dzhFX2lXTmdlbXJwZVBEdnZLRzY4Szk4SEtxb1JsSXBQWE5wUlNGWlFBZUpjSlpqeW8zSFZJcWlyeGstQ2NwWW1xb2l2cHpzV1RPQ1E5S1BiQndJejBwUFZBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('641c57f2e1586', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('641c57f2e1586', 'paypal', 'buynow', 'rect', 'gold');
});
}