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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzI0OGFkY2I3ZDFjZTE4MWRkMmE4ZTgyZmY4YjhmYzc1MDk1OTZkNjRkMDQxMGFiYWQ3MzljODU2NDJlYmRiNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDctMDRUMjI6MTE6MTMuNjc1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBTbkRyN3Y1MGZsYjVoc0JLeUNUSE9aay1fVjVkVEhYSGxCMkdFLUNQbGdiXzctby16bUFBZkJjcVRUTmhTck9kLWdtLTI2U3hqX2NzOWJsU2pLTGRONkNaTjBnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62c3658154b35', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62c3658154b35', 'paypal', 'buynow', 'rect', 'gold');
});
}