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/5i8a1zhd8df2/plugin/27/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Aa21EdmIvCb5kleql7aK7e7H5HxU69DEWaiGbj_k2GE8iPckRh6MJ3UFMTKJiaVcgnjBLLLsyil0Le0Y");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTYyOGZjN2ZhZTQxNWQ3MzQyMDJlYzUyZWUxODg2Y2M2ZjRmMTBjODRjOTA1ZGJkOTViYWY2ZDJiNjQ3Yjc2NHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDgtMTRUMTE6NDA6NDIuODEwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1xZHl0M3N1R0F0SHg1cVZZM0JleTlnVlVobE5BbGh5OGd4a2NvcnZvN29mMkVwT0lLMUlGYnlJenpIcmI5dEpVNmJ4cFJHZlZvSnJ5Y3FjNE1rdTA5bS1LTmpBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62f8ec20276b9', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62f8ec20276b9', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62f8ec20276b9', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62f8ec20276b9', 'paypal', 'buynow', 'rect', 'gold');
});
}