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/luxn8kd69vu5/plugin/11/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AceTVjFsjfRQtSmjeZG20pC1evOBa1NLHjevipevkadsgmz_3MpPEcF3pGdrCLsoAvmp5-UlJjiPYONx");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMGQ4ZmYxYzcyNTI4NWJkMGFkMDlmNTUyNDg2Y2U4NGRhOWViNGI3MmQzZTA5ZGJlMzVkZDFiZjBkNzRhMjI0MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjRUMTk6MjI6MTQuNzEyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9oQ2RmR29XcVNLc0hrZHNlRlVZdGtmc1AzM0djZWEwSHYzZWU1cDYwSUJNUGZpVDZnMzFXZzNmUWljQ2l3TlRSMm9kdE92bkZJWjJFa1hBV2JpbDl2T1VIS2ZnIn19");
script.setAttribute("data-append-trailing-slash", "1");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628d3065ee96c', 'paypal', 'buynow', 'rect', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628d3065ee96c', 'paypal', 'buynow', 'rect', 'black');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628d3065ee96c', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628d3065ee96c', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628d3065ee96c', 'card', 'buynow', 'rect', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628d3065ee96c', 'card', 'buynow', 'rect', 'black');
});
}