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/enp6zmf5n3kj/plugin/13/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AXT5ZcZwRT9aPj5PAROpeqAj2GtWpJ3LXXkCHv9Usgk1MiSxilR-t8SpC3C0mz_pXh6MS2huEB1sAhCK");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYmVlYjk4Yjc2ZjEyZTY2YmZiYTgyNTUwZDNhZWUzNmNhMzIzMzZhNDM4MDliYjA4YjM4MzFiNDZiY2I4ZTVmY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTItMDlUMTA6MzM6NDUuMTQ1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1nRHppeXJsc2dqTElmN3hIYUYwbGtlQVdkbDVNbnJiSVR6Njd4UjhTczJjSW83cVZvV3czNU42QzFWRnhmWjBJX0FPT2xaSXVWTnJzcmNSYzliX084dGJkNHJBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6756ca53153ec', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6756ca53153ec', 'paypal', 'buynow', 'rect', 'gold');
});
}