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/5zsd8cligdud/plugin/11/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQWh156DG6-kZLopqriiwbyATk7C6LqNWBdUQjzcKksE7NvqjcNJ_dnUGCWmRz2ghsvC3v1bscS-hlK3");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZGVkY2U5NjE0NWZlMDFlYjAyMTdhNjc5MDdkZmM3ZDBhZDAyNTY0YWFiYmFlYzZiOTM4YTgxNzVhMTU2YmJlNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMTlUMTA6MjI6MjYuOTgyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBNZzJLMmg5ZE5JY1E2bVlkRDQtRFFsMmtianMwcjR3Wm5TcXlhNC1qV2s1dUVJS3VIM2ZOamtLRjZmRm1uanhOcEJ2T2xQejZsVF9JbF9pLTN1aXJEaVZqSVVRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65f96887d0c9c', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65f96887d0c9c', 'paypal', 'buynow', 'rect', 'gold');
});
}