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