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/wbdw2qxcn0h6/plugin/12/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AXJCMCsW5kaSYGS1cyqH1-hLwDeqfdWYD4i6za19bgOR9QyokKmFXWnuxdssrvLcy4GwDoH_qs7GIds8");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzhiYjA5ZjI4MDExOGY1N2FlODUxYmQwN2M0YzNjZDVjZGRlNzIzMWVhZDRiOWQxZjYzYjhjYzdhMTI0M2Y2YXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMjBUMjI6NTg6MzYuOTYyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5udWdfVG9Da0dSVHdfRnhQZ082R01NcFdaaUVoTjFzUUFrTnB5R2NYRnoxc1RrNktQYmtNVl9vTTFnbXN5ZUxpZDhVMXVkTFB4c3RZM1J0eFBHS040VkY2MFRBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6418ec84212c4', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6418ec84212c4', 'paypal', 'buynow', 'rect', 'gold');
});
}