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/dfo16woutjhq/plugin/14/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AS0KEJLBfvMjfEeiRJIGMx8Eenxp99h5AtO8bXPPwYVe7m-AetwIs7jKjpf_IMbwISE99-UxoAfkcu8C");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTIxOGRhODg5ZmRkZmZiNDkyODRkNWM5YTA5ZWMwZTg1M2E3NTcwZWE5ZjAzMDMyNDcwNjYwNjM4Y2M5MTgzNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTVUMDQ6MTQ6NTMuMTMxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU8zbmpVVml5eXJ6QzgxSTdzTlBGejRtSG1UZmExNVI3bXQwWWtZS2NITDg5OVZWYmFZR2pOZHRMem0zaWJkRU4yWVhxcUlLSGRJZFJKZFhsS2FUSC1JS202UXZnIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AS0KEJLBfvMjfEeiRJIGMx8Eenxp99h5AtO8bXPPwYVe7m-AetwIs7jKjpf_IMbwISE99-UxoAfkcu8C");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTIxOGRhODg5ZmRkZmZiNDkyODRkNWM5YTA5ZWMwZTg1M2E3NTcwZWE5ZjAzMDMyNDcwNjYwNjM4Y2M5MTgzNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTVUMDQ6MTQ6NTMuMTMxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU8zbmpVVml5eXJ6QzgxSTdzTlBGejRtSG1UZmExNVI3bXQwWWtZS2NITDg5OVZWYmFZR2pOZHRMem0zaWJkRU4yWVhxcUlLSGRJZFJKZFhsS2FUSC1JS202UXZnIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6644391838ae9', 'paylater', 'paypal', 'pill', 'blue');
});
} else {
renderPayPalButtons('6644391838ae9', 'paylater', 'paypal', 'pill', 'blue');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6644391838ae9', 'paypal', 'checkout', 'pill', 'blue');
});
} else {
renderPayPalButtons('6644391838ae9', 'paypal', 'checkout', 'pill', 'blue');
}