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/q4201zdvfphx/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AY3QZcSMBh9mCudklznCzsH5CrZ2BDqaKaLamXSuT-E5ELkEYBzxZMO_ttV0O99GFmM1mk9CFbwg4zbv");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZGZlYTQ5NTRhNDgyODRlMTU1YTU1NDU1MzJhN2Q3N2Q5OWI5M2E3ZWEwYmZhMjBmM2ZmNzI0MjFmYTFkNzk0ZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjNUMjM6MDk6NTkuOTA2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU55YU01NG5hdHBpbjF5RDE2eUhoOTRzSGpaR0RMWnpiWE1BVF9UZ3JGZWN4amRkWHZlV1pqaGxGZDVrcXhIR08xNnZJNmZuVlVZWlV0Y3YxOF9MNFgwVzdvWFZ3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63cf153355541', 'paypal', 'buynow', 'pill', 'silver');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63cf153355541', 'paypal', 'buynow', 'pill', 'silver');
});
}