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/x0gp5qiq56i1/plugin/1/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AbCgPubwculD2ZneR3_amMo61mzqagQ0tmF890nzgBDIpnKMn8cf5qWGSS3EPryyRBcgYrnzvOSQwob2");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTZmMmRhOTY1ZTJiOGFmMTI2NDdiNTAxNzc5ZjAwZGQzOTljMzg1YjFhZDQzYzRlNzU5MTI1ODYyMjE2YTkzM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjhUMTE6NTk6MDcuNjA4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5YdHZVdGdVeVZ5TkluNTBvMlI2T0R5ZjNySHZjQTZfcEI0dG1HcW5NMDRodnF2S3Z0dTlkNFliTDA3c0F1SnhjREUxOXhBTFNjN2d6QTVxQk02T3VqSVl6NjlRIn19");
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", "AbCgPubwculD2ZneR3_amMo61mzqagQ0tmF890nzgBDIpnKMn8cf5qWGSS3EPryyRBcgYrnzvOSQwob2");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTZmMmRhOTY1ZTJiOGFmMTI2NDdiNTAxNzc5ZjAwZGQzOTljMzg1YjFhZDQzYzRlNzU5MTI1ODYyMjE2YTkzM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjhUMTE6NTk6MDcuNjA4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5YdHZVdGdVeVZ5TkluNTBvMlI2T0R5ZjNySHZjQTZfcEI0dG1HcW5NMDRodnF2S3Z0dTlkNFliTDA3c0F1SnhjREUxOXhBTFNjN2d6QTVxQk02T3VqSVl6NjlRIn19");
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('66055b8bc9fed', 'paylater', 'paypal', 'rect', 'white');
});
} else {
renderPayPalButtons('66055b8bc9fed', 'paylater', 'paypal', 'rect', 'white');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66055b8bc9fed', 'paypal', 'pay', 'rect', 'white');
});
} else {
renderPayPalButtons('66055b8bc9fed', 'paypal', 'pay', 'rect', 'white');
}