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/vdmrhyxgbgcn/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQvlznkZmKsiauFCsVcxwXs0e-L6y_itbilpNw0Uq0q3QNpu0hK618dz1v08QgnSPA2PDcVUI99Ct6Wj");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjc0M2E0OTBmY2QzZmMwNDUxNDYxYTA2OWUzMjQxM2Y3MDhmN2YzOWU3MmQ1ZTVjNWY5MDg1NzU5MTI2OTlmOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDNUMDM6Mzc6NTcuODQ3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9kd29OYmtpN3pIVFY4YjFzck8zZzM3MU5ndk1tTm5wV0dSLS1QaG40UzJGR2F6QWt2dU9SY0VhQmJESFpXQXR4M0lzendKbTJhS0tqUE5ja21FaXpteENRekJRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63dc81956ce7b', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63dc81956ce7b', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63dc81956ce7b', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63dc81956ce7b', 'paypal', 'buynow', 'rect', 'gold');
});
}