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/zp7ofx9k7xw8/plugin/6/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVOiGqJ-fzgDPDKRjNVMtgT-gpIhM5tCX8TEiItWn0zEGjm79VZACVGA5XGVgfeafj4MYh6IMbXAwQh5");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzBiNDA1OGQ2N2E5NGRiY2YxYmZmMjM2YTA3YzExNWQ4NWY4YTBiMWQwZjIxNDJjYmM4N2QwZDE2ZGQ2YWQzZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjRUMTI6NTA6MDQuNjU5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5PUDE3M29fWEtfaWlIbEk4d0N5TUhFcE9FZDFBV3ZNd3o0M2t5ZG9ZcHU4a2NwR3NUSENpTk9NQVNqRk14bVp5MzFrMTE1ZnJyMXZla3JjU0pUWmpEcGpuZXdnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6629016e9743c', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6629016e9743c', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6629016e9743c', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6629016e9743c', 'paypal', 'buynow', 'rect', 'gold');
});
}