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/7z7i734gqk1j/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AYiQXsdQ_LtlY3DwHh-BVizOKYwGe_2astMYYP1WJ7jbT2l1zcitsBXm_8FcsEOdyZpS-JLNZnPb-cnj");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODEwOTZiZDVjNDZhMzA5N2Y4MDJkNDQ1YjFkMzA2ZmM3ODk3MDk4Y2VjYzY4NTFmYWEwNTIyOWVkY2NlNzVhMXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjdUMTg6MTc6MTYuOTE0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1kTVQ4Y3RweHFmOGhaQU5hS1VJR2RkWldBZHVYel9kYm83S3VWUTNkYVhBSEx1V0J2THFYbDVRaUhTSXppNXlTc3hkX0FkWHRjM2R6R3h0UXZXYnp6ZkZEX3lRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('629115ac7efa3', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('629115ac7efa3', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('629115ac7efa3', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('629115ac7efa3', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('629115ac7efa3', 'card', 'buynow', 'rect', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('629115ac7efa3', 'card', 'buynow', 'rect', 'black');
});
}