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/tlmvhcnagxwu/plugin/26/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ARMOXUHhevrZA6Ua6wemQ92w1J2883kdoLjn2er_sWY7TlPD7PGGbaZLkU07MclTpzLoQsS7C7riR6li");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjExNWJmYWEzNTE5YTQ3N2M2ZDE4ZTIzOTA2ZmJhZDEzZTVmNmYwZTIwYWZiYjRkYTlkOGRmMGVjZWY0NjRjM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMjdUMTE6NDg6MTQuNzk0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5GQXdnd3BhWXh3Uk45ZGhaZl9LQnlaQjVIUnRHZ1FsWGhWMjdXZTlQSjg2MlVFUGFJaENQYWZ0cm8wc1ZWYTVwZFRFb2J6bmo4Slk2RTVIaU5rTWJDU19nQmR3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('671e29eb87714', 'paypal', 'buynow', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('671e29eb87714', 'paypal', 'buynow', 'rect', 'blue');
});
}