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