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