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/ifbrv1ca3jmw/plugin/22/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AYQTvVFy8ys-dhEztyxl-Xsgt3Ik-ZwD4UNdbYgg4jTeYiCMjSfMKMJSZrkbpZ5zKHXzPdRHXMX5UGPJ");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjBkYjc3NzA0OThkOTdlMmZkMTFjNTlkZGI4ODk5NmU3OWE5NWMyNzAzNmZiNjUyOGY0MmI2ZjdhOTQyNjEzYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMDJUMDM6NTg6MTQuOTU1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1FYS1MNW5oLWZuRkNZZ0psNDZFOE1vY1NNeTBUOFRqcGdzd3IxYk8zQU9EMnEyVWZHNS1tYXdWYVZnUGU4WlE1OVF3YVAzaXdTS1ZCbTU0dWhyUW5LX3VWSDV3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6479721a606f3', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6479721a606f3', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6479721a606f3', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6479721a606f3', 'paypal', 'buynow', 'rect', 'gold');
});
}