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/d0tv4ohbszi3/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AaAnlljgDlaYiV0LhvdXOIOLFrDbbZdevcjAOrCjfd3PTgucNiQne_ZgsOWlH4eM7PnDdPLVnYtc3789");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTcxMzhkY2E3YWEwOTM2MDk4NGQ1MmQ5MjRiOTFiMjIyN2I0ODcxMjU4MDAwMzE5YTZjNzFlMjZhMzM1M2JhNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDZUMTc6NTI6MTAuNjMyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5jV0VNMG5Td2FNQk1ZdDl1M3VLWVJ3TjFnRTFzbDlzbXRTNTBweEozYXc5dl9rZTl1WERHWkFsLW5WeXA0eUxMY2VjN1EwTERFSGIzVjhwSkc3bVowalJGT3ZBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('66db41499f032', 'paypal', 'buynow', 'pill', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66db41499f032', 'paypal', 'buynow', 'pill', 'blue');
});
}