if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/r8m9nkyqi92x/plugin/49/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AX1rbmdVxz_QGAL9-llnUdzCm4LZBNYY85R4RTgE6q3VT2-s7j9r8ZQpCXgXDtX9BiacGU6sPPk9Rfva");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTU3N2UxOTgyOGNlNTQ0YzM0MTJlMGM4YWY4YzFmMjc0ZTM0ZTBjOWM3OTIyNzM3NjlmZDc4ZGNlZTk5Y2FjOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDVUMDg6MTQ6MzguMTU2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1xYUFXeW00NlJhRzBtNG0zYjRnaVRQUDcyUTdIaldCc2x4QWU2ZDNxM0d3MmEzajFhOWxsTFhDZWJMR1BqcDRWdW5XRy1xTS1VVDYtVjZrUm1pb05tUk1yZnJBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63df67031d7ff', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63df67031d7ff', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63df67031d7ff', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63df67031d7ff', 'paypal', 'buynow', 'rect', 'gold');
});
}