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/ob77qsj3pg8q/plugin/1/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "Aa-id7S-zVnmXQRSv_LU9_JHzo6eTr3TkKPSMAIaScNHoWbo9Zk9v7VdvOi2WAramrrRV2prJ87gyk4x");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmJhY2Y0M2Q4YWU1Njk5YWU1Y2RkMjNhNDM0ZjJiNDIzZmY2Zjk3MWM5OGM5NDE2NGVjOWI2ZWIzZjQ1N2IzNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDQtMjlUMTk6MTI6NDcuMjI1NzA4NDAzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB6U0xLLWw5S1VSNDdrbmw1VlVtLTdqQlV1XzdfeVdUN2x3eGZGdTFHRzZ1M0VoeV9XTW44alpiTFYyUGY0V01KMjhGZWhNVUdzQUlDRVBCc2dXT2hETzctS3J3In19");
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", "Aa-id7S-zVnmXQRSv_LU9_JHzo6eTr3TkKPSMAIaScNHoWbo9Zk9v7VdvOi2WAramrrRV2prJ87gyk4x");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmJhY2Y0M2Q4YWU1Njk5YWU1Y2RkMjNhNDM0ZjJiNDIzZmY2Zjk3MWM5OGM5NDE2NGVjOWI2ZWIzZjQ1N2IzNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDQtMjlUMTk6MTI6NDcuMjI1NzA4NDAzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB6U0xLLWw5S1VSNDdrbmw1VlVtLTdqQlV1XzdfeVdUN2x3eGZGdTFHRzZ1M0VoeV9XTW44alpiTFYyUGY0V01KMjhGZWhNVUdzQUlDRVBCc2dXT2hETzctS3J3In19");
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('68112fe3812e1', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('68112fe3812e1', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('68112fe3812e1', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('68112fe3812e1', 'paypal', 'buynow', 'rect', 'gold');
}