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/xxtbjetvrxyo/plugin/14/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQt4wzrMmHdCShGthF6zPI28gQUcNkCi4PnuZZUkw5gggvBn9wcWeI2iV1MklUEtaq_7UNbmsNXcL4x8");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTNkZGI4NWJkZjllMmFkNGQ5OTQwOTYxZDRlMmM3N2NhYzI5YzdlYTlmZDlmMmZlNjUyY2RmODY3ODUzM2NkOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjBUMDg6NTI6NDAuMTkxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1YNFhKNW5MeFc2TkdSalQzUTJRS3FFaGhFcGFqdjJ0cnJkY1loSTBTZlQ1UXM4MEpPU2RZcU9DNEw1OHNwQUhvdHh3a09UMmpCdDBHQVpjQW8yS2R5SnZSQ2FBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628756d7da0c7', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628756d7da0c7', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628756d7da0c7', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628756d7da0c7', 'paylater', 'paypal', 'rect', 'gold');
});
}