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/2qy7kqu8nmyu/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AWp-owJN-dwTv9x8wmY61gkLO7KkyHqJnoETVoAPrhfrVwYTh4fYw92kdBu_3AJhLszFn3BndcdhCAro");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmRjN2I1ZDdmOTMxNDE5ZDFiZTUzYzUwY2U2YzljOTZlZjA0ZTRlMzViNWM0ZDIyYTNmNjQ3ZjU3ZGUzNWZkMXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMTZUMDc6MDA6MzUuMzQ0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1pTDBaSWhaTVBIcGhjbGxTSXc0VUpMRkdGNG9sVmk1cHdzdGY4MlVFUEhmS2JnVTVSMlM3OGV1WE5Cc2R5em0zMFpBQXpWelVJWWp6RDNsMEJKd1pyRUFULXNRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6555c5d475ead', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6555c5d475ead', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6555c5d475ead', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6555c5d475ead', 'paypal', 'buynow', 'rect', 'gold');
});
}