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/qn1csxgnws63/plugin/32/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ASUvxpElDtpKnhVbFTrbwEkbSHTXI8CpWZwNpE-kb-lrWgcNLBXfLbAMEOenyJ8odWV9fNTmsaQrtNsD");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTAwZDg1OTdlYjM0OWVjMzY5YTc4Njg4NjgxOWI3Y2U2OGYzMGE5ZmY1NGQ5ODliMTEyNTJkYmJjNGIzOTAxYnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDhUMjA6MDQ6MjMuNjkxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU85RGJlTWg4MFlMMUttaWdvc0JNZS1QVGhXSzU3ak9GYlEzMHY5MkxMVlM5Vk1Na3JPQkQ5cWtmZWlVSWtWTHE1NXJIWVhPMFNfVmRnMXhjazl3Zkd0ZTlRSVZBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e4080f60d91', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e4080f60d91', 'paypal', 'buynow', 'rect', 'gold');
});
}