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/t4m57w9r2qfo/plugin/6/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVZN1UJV4F3F3iBuENgbpfKnIoaFb7ubu5kGdBzTHoxIgXzmCYP9cHAaptxgDGY7YoxMGLxXI_BEhPxC");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjUxYWIwYjgzOTMxYjUxYjUzMTdmZGJjOTAyOWE0NDE1MmM1NzY2NjI4YzYzZjExMmU3MDk5MzIwYzA2MTNmOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMTItMTZUMDI6Mzk6MTUuODkzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU40R1BObHA5NGpYcmRkY3MzbkhscXAtSW9sU0FnZlJOeDllTHhpSzQ2ejhnQURETm1NanNkUFd5MDctQVpuSFNjczlDTFNza1NEaWotV0tjSFh6b0J0Wjh4VW13In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('639be3e612ea4', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('639be3e612ea4', 'paypal', 'buynow', 'rect', 'gold');
});
}