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/9xi0ypdttb8m/plugin/26/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ARs2YO3tb9mq-Sf7AoyFHiI_2PyeLqIgJUo2HlyC8nx8ltTiSXpj6Ov_xxX1MzbTRlkj_lVxueksDc96");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYWY5ZDUxNGUxMmM3MTkxYjU0YzJmMzlhZjAwMDk0NWU4NDQ0MDQ5NWYyNjNjZWI3Mjg1YjM3ZDU2MzExZDdmZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMTNUMDQ6MDI6MjYuMzU2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU92NkI5RHM5RTl5OURtSXhVclZ0QlRHZlJITjI2Mjk5TzBfOXByUzhaQ2Jwd05NZElNbDdlOEpQa0o3b2VVUUVsR0RKLUxycURqS3h1NXF5cTlyY24wb0dBUVlnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63c0dd54b98e7', 'paypal', 'checkout', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63c0dd54b98e7', 'paypal', 'checkout', 'rect', 'gold');
});
}