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/4d9u2hq5elwg/plugin/3/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVoK-5Dw_Hb8T1mSpnuTcdzofkZyo2KMb3xa6n0k_cQLKukMqbqhrcXyfonleo79E23Wi0SYCUm2bwUF");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2RjY2MzOTkzOTdmZTkzMmI0MGQ3MzE0NWZiYTQ2ZThmOGVkMTVmOGZjOThjOWRjMWFjMDcyYjY0ODRkZWYyNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDYtMjVUMTM6NTM6NTkuNDAxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU56X19UVnN3djhCWFVXRGtOd2RjSGVyc0lKYjlmVnhhZEZjd0hKNTI0YWFfR3FkdVhKSjNnTGhNajVQVTVYOEVnbi0wMVhweS1ZQkVmbFJEN2xreWtmaUNwblpnIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b71377144a1', 'paylater', 'paypal', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b71377144a1', 'paylater', 'paypal', 'pill', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b71377144a1', 'paypal', 'buynow', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b71377144a1', 'paypal', 'buynow', 'pill', 'gold');
});
}