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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMWE1NmU4ZGNlODgyOWI5NjA1NmUxMDk3MTE4MzQwYmM2M2VjODlkNmRlNmRkNzVhOGE0OGNlMDViMmFkMGQyMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMDhUMDg6MTU6NDguNDY2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9mbU10NWtJMHYwRF9pQm9nR3gyMU9YUTU4cDdxOVhaY0xWWmhyczRhQ0tLLXByV2FMWVFmbnRqRnc5UWtMQWNUT0lvLVdZaURmUFVXU2Z6bWNra1NHQmxkcmpnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('672dc8b40233c', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('672dc8b40233c', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('672dc8b40233c', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('672dc8b40233c', 'paypal', 'buynow', 'rect', 'gold');
});
}