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/shnuxd70ih03/plugin/38/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AXNVf5cWtv3mlf6AXP0-_BXbpRBOaO-K_8Aj5DSFuWanIWKZ5dWRTWtmgnKD6eWOOVsYBM_w_C_niC3x");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTg4MDUwZTQ1NGNiMGY5ZTg3MzBlZjc4YmE0ZDcxYTNhZTZmZmNkM2ZkNjg1OGIwMmM0ZTM1Mzc5MGVkMmIzOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDhUMTk6MDA6NDcuNDc4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU50TW54TmczRml0cGloODBHOHk3ZkRNNUN6MUtMQWoxcUlIMlFCa3NkTE9DTG9XdFpDek5kcjhNbnJHVXlHaG1RdWpxVkVQMDNTVnFpOW5LRVk5LWdzQkY3M0RnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e3fae2cf45c', 'card', 'buynow', 'rect', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e3fae2cf45c', 'card', 'buynow', 'rect', 'black');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e3fae2cf45c', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e3fae2cf45c', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e3fae2cf45c', 'paypal', 'buynow', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e3fae2cf45c', 'paypal', 'buynow', 'pill', 'gold');
});
}