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