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/6eicsunvxeja/plugin/8/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AcfOoIckGTg_b0ZJfyQxwiiykOSnqvqq-JJhWDUhIioJ8qL3RKtm9W0H3VrTBu9Kv9DwSAF79PKYdnVe");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzk5Yjc4MTRhNGQ5MTNkZDc3Y2UxZTRhYjZjZGU3NDZlY2Y0ZTJlMmY4YTgzZThkZTYzMDBjNWI5MjgxNzZkOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjdUMTQ6Mjc6MjIuODUxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4yOTREU2h3Ty1KelRlVlN3ZmpHcklpeDdiVDhJaTNlczJNM2dmM2dLdy1SbllZUDZ5Q0tZbU1IUnkwenFucVJITEVETEJISFF5Y0lUR29YQjFDMnU4NHJ4d0dnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d3df4a6c3c6', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d3df4a6c3c6', 'paypal', 'buynow', 'rect', 'gold');
});
}