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/3fg918det71l/plugin/11/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AdMajk9uKVDav1pOUaPtodu4pDck33oka5mpKwYY5cfhvMCYJzpn3S9LGBO4aiA6mIhmYf7VdKR_qqKN");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODY1YmM2NjhlZTFjYTAwN2ZkM2I2MmU0NjljMmU4ODcyODdhNjUzMDdlZjBlZjE3NzYwNTk0ODkxNjJhZThiMXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMDVUMDQ6MTQ6MTguOTM2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1KNnlZeG81a0w5S1RxTWRxdzVFU0h2ZFI1cC1BMHh2dXhvdU5hUFJyZHBQZmotZFVwbk1FRmQ1dDJTZXphMllxYV9ZTHJiNG5Vd3pvbVF1QThqcGhvbTdmM2pnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64041e481b6e4', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64041e481b6e4', 'paypal', 'buynow', 'rect', 'gold');
});
}