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/qvbwczb6g8pa/plugin/18/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ATsxYQ0cI5Utiymjyy7x5oA5LO6-z9Oq033gbnSl0v89ZrjXMqZHK-eaQcIo8cPZd4KBP6c-fDoRB1-U");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDQ3NDIwZjk1ZDA1ODdlZjljMTdhNzU5OTY0Y2YxYzU1ZmEzMTc4NGE3Mzk4MzVhN2FlNDI0ZDhjNTFmOTA4ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjdUMDk6MTY6NTIuMjUwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU0zZ0UxTnBpWlF5S0x2MlpxTXZZSlZMTkNTREc4MnpJRVYyMVJsX2xuQ3hkT1Etclh5ZHFxejl0ZDh2a2RfSmVWQlJCVkx2STVjOXZoSFpPM2xnWC1lRXRiUkxnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d3973dbb5aa', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d3973dbb5aa', 'paypal', 'buynow', 'rect', 'gold');
});
}