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/dcy9il1j82ms/plugin/10/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Aa-Owo5wf5exW_-lvvgC3txoleC3maJzRN_fapWX4EnMRcG-_UfiCmod68gCJiHGTrKPr9YQrGPfLdMQ");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzUwNGNkZDlmZDIwNTg2Y2NmODgyNTcyNDcxZGFiYWQ5MTIwZTA0NDA3NDNhOTY4ZDk5MzY4NDE5OTUyYTM0NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMjlUMDE6NDQ6NTQuNDc0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBVa2RuZ29jRDB6dHFoOXJjRC1Nc1RVUFE2UXZ5dTNGUUJZaUxBZlNfbzZ0alZjMl8wazYtdDN1dm8tNE1HRzBhbW91bjcxQTNMbTQ5T2xLVi1GRE1ESXV5WTVRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6423a4b3193fc', 'paypal', 'buynow', 'pill', 'silver');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6423a4b3193fc', 'paypal', 'buynow', 'pill', 'silver');
});
}