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/1sa4votya23v/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZm1GNUnujzE1rMUPvWgoXt3kfHcyNMu8nTCfYFHfp_heyvTTaSmcVRUioISWn-7ttBn0VOx1sA9SvIS");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjQ0MTViOGE0OTE4ZDJiYThjYjk1ZGNjMzdmZTFmM2ZiNGM5OGM2NDhlZTI0NjUxNWE4MDUxNmQyZTFlZDQzMXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMjFUMDQ6NTY6MjYuODMzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBabmlEaHBDejljbjFDTnB2VUw5M094ejZaMWE1czhVXzVpQUhDdUVkMVBBaEFDVm5DcEN3VXBqc1ZBX2VQb0ZKV3dkVDc4U2M2VmEtLThpeHR5N0JkN2t2b0RRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('673ec0ce30f2f', 'card', 'buynow', 'rect', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('673ec0ce30f2f', 'card', 'buynow', 'rect', 'black');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('673ec0ce30f2f', 'paylater', 'paypal', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('673ec0ce30f2f', 'paylater', 'paypal', 'rect', 'blue');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('673ec0ce30f2f', 'paypal', 'paypal', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('673ec0ce30f2f', 'paypal', 'paypal', 'rect', 'blue');
});
}