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/e3gibhj4y2bw/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AWVBKTWE2nHTzA5A_Q-YyR6BpOI7FU14XTb8i8DHVbI8oNKBgsSS0WF2o6NL36drGIFQCYhdFBtNlif5");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTBjM2VkMDZlZGY0M2E3NTE4MjQ0YjA4MGM2ZjhiMjlkYmU0MDM1YzUwYTYxNTdlNmUzOWFhMGM1YTk4ZGUyMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDctMDNUMTQ6MTU6MTUuMzg5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU8ySTkxRXRJQ1lLelp2S0ZrZUJaUk5DdFN6NTl2eFk4RDJ0ZFNsNno4emJwWWxoRGFtQTgzTEREVHN1SVNTck5CRTc5V2VXNFltRXdPcXUxbFFBbWlJcDRhWmpRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62c1a47304e73', 'paypal', 'paypal', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62c1a47304e73', 'paypal', 'paypal', 'pill', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62c1a47304e73', 'paylater', 'paypal', 'pill', 'silver');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62c1a47304e73', 'paylater', 'paypal', 'pill', 'silver');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62c1a47304e73', 'card', 'buynow', 'pill', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62c1a47304e73', 'card', 'buynow', 'pill', 'black');
});
}