if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/am75i4z1sc8c/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AW2BwbOSucbgKvBCQqJkXCrclfqQj_InOBbAQ98AmCf6sWdsA4hZEKp7ZEAX7QTi2zEsSeZ7d0RFk1dT");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiY2MzNmYyOWU5OGMxNWNlMzdmYzJmNjIxNGFjYTQ3ZGI5ZDlkMTU0NTdlNzk0MzEyNDRlMGIwYzU1N2QzMWQxY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMDlUMTY6MjU6NDQuMjgzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA5QWh5YWhmOURnQ05vdm9fZXB3UGx5WFlvTk5SV2RGbmZaTGRSd2VnTWlXYXBFcmw0RkpmbnJJNzM4ZVdtcU5EY3lqcnQ3UkhzOVVudDRjQ3dqR2I1WFJXNU5nIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63bc4dff927fc', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63bc4dff927fc', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63bc4dff927fc', 'paypal', 'checkout', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63bc4dff927fc', 'paypal', 'checkout', 'rect', 'gold');
});
}