if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/wbdw2qxcn0h6/plugin/13/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AXJCMCsW5kaSYGS1cyqH1-hLwDeqfdWYD4i6za19bgOR9QyokKmFXWnuxdssrvLcy4GwDoH_qs7GIds8");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjc1ZjRiMTQ1MjliYmZjNGE2NjhkMTY5NDIwNzI1OWNiY2MxYzUwN2QwMjk3MTkwZTA1ZjFlZDkyZjI1OTY4YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMDFUMTU6MTY6NDIuODEwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5HV0dFZnR5bTBtVG55Q3JVRVNtSVMtVm44eTBnLWVoQk1BLUN0Z0xkYVQ2cVFqT1FvcFlCTy1TMHNBMUxIVXVPdGNsc3RhLWZnbnN1YVRyNkE0RmRzbk1kMUdnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6478c168a34b2', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6478c168a34b2', 'paypal', 'buynow', 'rect', 'gold');
});
}