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/enp6zmf5n3kj/plugin/13/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AXT5ZcZwRT9aPj5PAROpeqAj2GtWpJ3LXXkCHv9Usgk1MiSxilR-t8SpC3C0mz_pXh6MS2huEB1sAhCK");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYmYwMDVkMWY4NTJhYTYxMWVkYzNmMGE1ZmFhYzJlZjg0ZDFhZGQ0MDI1ZGFkNWRlMWFjODQ1NjI4ODk1NzhmYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjhUMTQ6Mjk6NTEuMTQ3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU0zOHRMOXI4akUwekdUYUVRTUFVT25OdUpYRWxGc3dyUk9zRHFLM1VkcVNrTERrVkJDNTBlUmxPTGozTlJsVV9jRzl6bEl2bnFTSGd6NHJfejJXUU03cDlmWkhRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('660581b8bcf16', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('660581b8bcf16', 'paypal', 'buynow', 'rect', 'gold');
});
}