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/cuk33k02diap/plugin/11/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZNISloI1zNq_YqGOdtCmf7h13p0u_uxCjQtDtb7WxGaGU35jP2yhf08mNckbmJ8P_nDAleQHIyNf_iX");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjg3M2U0NmM0ZTA0NGJjMTkyNTNiNDZiMWM3YmY2YTNlM2JiZGVmMWFiNDQ1MzA5ZTgzN2M3MjhjODAwMWE2MnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMThUMTY6NDY6MjguNTcxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5GY2dEOGxWSXdITzRrUDVaSmFEYmgyU1hyV2hoUHR0UE5XWjUwd1hkWG13bmNCWEd2NHFIcHBTVjRsM1RNeWhsb3NqdUM0cTQzN1FZcmFIY24yM0xFMmVySUp3In19");
script.setAttribute("data-append-trailing-slash", "1");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628522e42c588', 'paypal', 'pay', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628522e42c588', 'paypal', 'pay', 'rect', 'white');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628522e42c588', 'paylater', 'paypal', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628522e42c588', 'paylater', 'paypal', 'rect', 'white');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628522e42c588', 'card', 'buynow', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628522e42c588', 'card', 'buynow', 'rect', 'white');
});
}