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/9xi0ypdttb8m/plugin/26/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ARs2YO3tb9mq-Sf7AoyFHiI_2PyeLqIgJUo2HlyC8nx8ltTiSXpj6Ov_xxX1MzbTRlkj_lVxueksDc96");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOGZjMjQ4NTdjMWMxYWYyMTNiNjljYzA4YzY4ZjJiNGNiZDg1Zjk0MTY2MWFhNWMzMDZiZDc1NjhhYWU4NmM2ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjZUMDQ6MzM6MTQuNzE1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1kcG1UZGtVd3VHQjlVaWFMLV9kVV83VzJwR1kwenplYjlLT2hhTkUtaEZoMGVSWEN2WHZEUURiYk9TcHhFbkZQd0s3TmNpS2xKMlNpX3JENTVWczdxbHN3ZzJ3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d20693c0e62', 'paypal', 'checkout', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d20693c0e62', 'paypal', 'checkout', 'rect', 'gold');
});
}