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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTA0OTg5N2I0NWRkYWNkZmY3Y2FhZWIxYTc0NzU3ZDhmNjIzMzU2OWJmOTdiNTkwZWYwMjkwOWM3ZWExMDc1MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjhUMjM6MDU6MjAuNjgxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9XcjVmMGludlNVSW10bGhyMUU2dHFkRmRZbW12UjBTdlJYei0xODFJTFh2eFpSQzRSaUZwNEpqMUdwbk9vSF9mTFVzTjFxaFRRcjJYeDdUTEFLUmdxb3ZmMG5nIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6605fb8e24d43', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6605fb8e24d43', 'paypal', 'buynow', 'rect', 'gold');
});
}