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