if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/am75i4z1sc8c/plugin/4/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AW2BwbOSucbgKvBCQqJkXCrclfqQj_InOBbAQ98AmCf6sWdsA4hZEKp7ZEAX7QTi2zEsSeZ7d0RFk1dT");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTljNjQ5NzkzNTVkMmViYTgxYWNjY2IxNDVkZWRhN2Q3YzZlN2FkMWViYTJhZmEwMjRmYTYwZjNlNzUxN2FlYnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTZUMDE6MTE6MjAuNzYxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5mZE1MX2tnM1g0aWc1UVFNWU5BY3B5YU9EdWRZS2NJTW9fWkdRbnJ2Q3p3bWlkY2pCTEtFeXAwNUd4UGFTb3F6UHhrbVZXMEFWdUs2YTF5X3ljNFYzcGJGY05RIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AW2BwbOSucbgKvBCQqJkXCrclfqQj_InOBbAQ98AmCf6sWdsA4hZEKp7ZEAX7QTi2zEsSeZ7d0RFk1dT");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTljNjQ5NzkzNTVkMmViYTgxYWNjY2IxNDVkZWRhN2Q3YzZlN2FkMWViYTJhZmEwMjRmYTYwZjNlNzUxN2FlYnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTZUMDE6MTE6MjAuNzYxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5mZE1MX2tnM1g0aWc1UVFNWU5BY3B5YU9EdWRZS2NJTW9fWkdRbnJ2Q3p3bWlkY2pCTEtFeXAwNUd4UGFTb3F6UHhrbVZXMEFWdUs2YTF5X3ljNFYzcGJGY05RIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('664560a5294d2', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('664560a5294d2', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('664560a5294d2', 'paypal', 'checkout', 'rect', 'gold');
});
} else {
renderPayPalButtons('664560a5294d2', 'paypal', 'checkout', 'rect', 'gold');
}