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/vdmrhyxgbgcn/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQvlznkZmKsiauFCsVcxwXs0e-L6y_itbilpNw0Uq0q3QNpu0hK618dz1v08QgnSPA2PDcVUI99Ct6Wj");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWQwNTJjOWE0MTVjYWM2OWVjN2I3Y2VhZmI5YTgzZWM5YTJkMWE1YWUwZDhkMDJjMjE2YWZmZTFjNzdkYzc5N3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMDVUMTc6NDI6MTUuNzI5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU0tblhySXFBNklGel9BVGZ4c3RHMm5SWi1BMlZMcVNjU0t1azFtclB4S204T21KQXJzRlRLbjRQV2JlMUlyd2xsS0dac1BTT0xEa3U2ckdhZEtWSEczcnpTTkZnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('647e1e76d8dfa', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('647e1e76d8dfa', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('647e1e76d8dfa', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('647e1e76d8dfa', 'paypal', 'buynow', 'rect', 'gold');
});
}