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/65vhg2on0lps/plugin/2/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AX9G8Z-XZpcqUJ2wvYaG0EAlS9ba8L6kQzC7TwhKJcFiOh0sdZ9806VOWLUdofe_aLj6foScX-27yH6t");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjAwMjI2MWY5ZjYzNGM3YWVlZGVmMzc2OGU2NDU3ZjM0MWJiZjcxOTE4ZWZiMGZiYzI5MDZmMzM0NGZmMzAwYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDRUMTQ6MDM6MTEuNTEzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU8zbkQ4U25CYkJMLVR4cGcxMG44cHVYXzUyYzBTQ09lelFkYzNKS3FGanNPSTBGdjBmUGR2dGNBTmw2aFRXbmp5MXlRUy13Y0poaXMySmtjdHpkMkNjRXVjZkhnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63de6d18f1563', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63de6d18f1563', 'paypal', 'buynow', 'rect', 'gold');
});
}