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