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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTBhZDJkNDBjYzI0M2U1NWEyYjM3NzBkODE2MTQ0YmNmZjUxYjJmZDUxYzg1ZTI3YjY3ZmNmYWI0YzJiMDdjYnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTlUMTI6NTM6MjIuOTY1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA5OHpKRWtrZS0wV0lKaFpCWDR0U2Y0QWRtZFd2a3dpNWVTc2ZJT2hROW1XU2ZIdzZ5YndUU0lVT0U1YllmMGxFcU5ETjIyQV9xdWY1bEVja0VQajRFeWxxT1R3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6649fce31fde9', 'paypal', 'pay', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6649fce31fde9', 'paypal', 'pay', 'rect', 'white');
});
}