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/qy8vou75anhn/plugin/29/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AbXbE269ClVqlaJbCgRJSluGsbPiypkHVrbVhnzB-Fg4RIVbzIYYmU5UYo5OC1UIFX5MTitllcdbq1wn");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTFjOTc2NmQwN2M5ZWIyMDhkOWEzN2ZlNTFmMTZmZGE1YTg0YzU4ZjM3MzVlMzUwY2Q5ODI3MGExMGI4ZTQ5NHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjlUMTE6NDM6MjcuMDk0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU41OGhkdWhkaVlxWkxPdEZjLWhZSXhlN2N2SFdIcWlxM1N1clZYSTBoQUlJd2RMWklBYmR0OGRaZ09xejMwVmhDekt1MWduZ21uaU8tN3E5cTVFVkdSSVRRTDl3In19");
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", "AbXbE269ClVqlaJbCgRJSluGsbPiypkHVrbVhnzB-Fg4RIVbzIYYmU5UYo5OC1UIFX5MTitllcdbq1wn");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTFjOTc2NmQwN2M5ZWIyMDhkOWEzN2ZlNTFmMTZmZGE1YTg0YzU4ZjM3MzVlMzUwY2Q5ODI3MGExMGI4ZTQ5NHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjlUMTE6NDM6MjcuMDk0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU41OGhkdWhkaVlxWkxPdEZjLWhZSXhlN2N2SFdIcWlxM1N1clZYSTBoQUlJd2RMWklBYmR0OGRaZ09xejMwVmhDekt1MWduZ21uaU8tN3E5cTVFVkdSSVRRTDl3In19");
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('6606b33febd32', 'paylater', 'paypal', 'rect', 'blue');
});
} else {
renderPayPalButtons('6606b33febd32', 'paylater', 'paypal', 'rect', 'blue');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6606b33febd32', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6606b33febd32', 'paypal', 'buynow', 'rect', 'gold');
}