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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzgxODg4NGE3OWE5YzI3N2RlMGQwZDFlYjc5MDhlMWQ4YjVhZDY0YWUwMWYwNmQ5ZWNjYTk1ZmU0NDJhNWYzOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjhUMTE6MDc6MjMuNTM4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBKU3EybnRNODdXWGVzRXAxNWVKQXc2THVrMENGOWRtME45enZJaG5MRGhnOHhoTnE5RDVMM2ljTkpYY0d6YVlOd2Jha0VkZEJSNzNidThfZWNEc2htcWs5NDRnIn19");
script.setAttribute("data-append-trailing-slash", "1");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6292026b25fdc', 'paypal', 'buynow', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6292026b25fdc', 'paypal', 'buynow', 'pill', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6292026b25fdc', 'paylater', 'paypal', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6292026b25fdc', 'paylater', 'paypal', 'pill', 'gold');
});
}