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/zlrq6w0vcvw9/plugin/5/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AUdmFO7hof5KPC5UgQo7IaFdosUEpY707n4MCdUPGxYsZ19w9m3XNEdCqO8BUUZ0aZqx3AWv1nphV4oe");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjQ5YjI0MDU0Yzk0MTU3ZjJiZDliNWIyMjg0ZDRkZDljMzY2YzMxMDYwMzNmYWFmNDExYmMzNDM0ZGQ4MjYzOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDdUMDQ6MzM6MjQuNTA2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5mQkExVnZ0a1pKRHhSSF93LUxZTmlYaDREZ1ZvRFVkLU0tZWQtNjJweXhPQTRyTkhCNmowOUI3NlB4aEJRVlFQS1FXQ2lHRzctWXV2aTFha0dIcS04NWltTnJBIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6639bc9574a16', 'paypal', 'pay', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6639bc9574a16', 'paypal', 'pay', 'rect', 'white');
});
}