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/mp5m5iv3e9pv/plugin/5/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVOKKpsx-G5ZLAEyKNjPfgmrEKZU28ztAfj84FzYzNwYZFup_N9ilU1kxDPyT7WKGSmmp2zR_ouFBd9X");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiN2FjZmI5NTgyZjA2ZWYwNzQyNGMyYmMxMTUyNjJjYWUwZDg4MGI5Nzk2OGY4ZDc1Y2E4MjI5YjFkMDU3NGNjYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjZUMTA6NDE6NDYuMzM2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1CdVE1V3ZxcjUydExnWWF0c1JhemZvNEhrMjRWTlVlTDRzTlc5ck01aE9BVnByZ19uM0RRMG1XbEFYUnVTVnI3bHBxdG11WmNXQmI5RUtGZ1AxN1BUTkVJdkdBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628f5969dae2e', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628f5969dae2e', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628f5969dae2e', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628f5969dae2e', 'paylater', 'paypal', 'rect', 'gold');
});
}