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/yswb96nmgko5/plugin/31/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ARFNYPVuDMX2QB9emLWeF3taISYOqBqqQYAG_cHcDahQJ5zW8dTpOmZs0i_WlE8xV8mo0RL1A4dmOoHL");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2U4YzdmNmM4OWVlNjhhN2YxY2ViNTdlYzI5ZGVhNTgwNTg0YzI3NmIwMmU0ZDM1MzMxODg4MzIxNjAyZmY3ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDgtMThUMTQ6MjI6NDguOTEwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU00SzEtemdmYUNQSV9ocjZGSS1jYmJuZUt3VFhyWDZtTGQ3LUtiTjhQS3Z0UHBmb2Q5VlF4SDBDd3gtSVJHcmRwdG9jMnJRSkQwcm0yVkpoVGEyOVM3bk83RUpBIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62fe4e08342ff', 'paylater', 'paypal', 'pill', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62fe4e08342ff', 'paylater', 'paypal', 'pill', 'blue');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62fe4e08342ff', 'paypal', 'pay', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62fe4e08342ff', 'paypal', 'pay', 'pill', 'gold');
});
}