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/z72vphr3pdqt/plugin/4/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AQ5RO2UvsY0QGP2P2J00r1IL-2aznBGOHGlCyjXSxpeBTohoAVgrGJe0HdiDHsxjvFkWfZPgt6gVPUZc");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNGVjOTA5ZGUzNzAyYTU0M2YwNWU2OGE3ZmY4ZDA5YmFjM2M2Y2QwMzliNWYyZDc4NTcyOWI0YzlkN2Q4M2QxNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMTRUMTU6NTY6NDQuOTAzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU01Z3p6V3F3QjJZOVgxYlo1bmllbjYyZktpd29WMFp5Y18wVC0teUQyOF9keUNBY3ppdzFtTHk0ZWkwUFpXOVE0bDdaY0p6eDRsMXFuc1BIUXh1QUoyWVlyQm9RIn19");
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", "AQ5RO2UvsY0QGP2P2J00r1IL-2aznBGOHGlCyjXSxpeBTohoAVgrGJe0HdiDHsxjvFkWfZPgt6gVPUZc");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNGVjOTA5ZGUzNzAyYTU0M2YwNWU2OGE3ZmY4ZDA5YmFjM2M2Y2QwMzliNWYyZDc4NTcyOWI0YzlkN2Q4M2QxNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMTRUMTU6NTY6NDQuOTAzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU01Z3p6V3F3QjJZOVgxYlo1bmllbjYyZktpd29WMFp5Y18wVC0teUQyOF9keUNBY3ppdzFtTHk0ZWkwUFpXOVE0bDdaY0p6eDRsMXFuc1BIUXh1QUoyWVlyQm9RIn19");
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('673629ecd7e8c', 'paylater', 'paypal', 'rect', 'blue');
});
} else {
renderPayPalButtons('673629ecd7e8c', 'paylater', 'paypal', 'rect', 'blue');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('673629ecd7e8c', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('673629ecd7e8c', 'paypal', 'buynow', 'rect', 'gold');
}