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/6xbvnvireua1/plugin/36/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AYxOjUg3T9n_EWx08A0lhmCDF5Uc-3vle6LFfkhLAkcYvMrmbuBb01Pab6-A5tF6rV1uMqHCUW6gpwoH");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDM1OGI1MGU4MDUxODY0MjI4ZDQzMTcyMWU2MmE5MDRhNzUwMjYzZDdmODJhMTZkNGRlZTIwNDFlMDExMjliY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDVUMTk6NTc6NDIuNzQzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5UZ3dSQmlHMi1GdHBUWVpGRWJjLUV5TVZUTEhSZ0E3ZEdOdjFtSkRWanVKM3o1dEpSQ1NIM1M1bXlGLUpQaS1takZDNjI0b05rVXprS21vRkNsVmlPdmVrV0VRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e0180a9af79', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e0180a9af79', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e0180a9af79', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e0180a9af79', 'paypal', 'buynow', 'rect', 'gold');
});
}