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/qddd911h1zyd/plugin/27/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AdRsnASrch6x0deabWprHds9mQj-LMDUL6mps_HbGmHALKwC5YzPfBbv-ifo3amDCaK3-oPm7JJ1ZPBH");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWFjNjA2YWVmOTc2NzZlODg3OTJhZjI0NzA5YWE1YWQ4NzY0MDQ5MGJiZTU5ZjE2ZWMyYzQ2M2Y5ZTU0N2Q0M3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMzBUMTY6NTA6MTYuNjYxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU40R0FCZG9mbUhXa0pMSjhXeS1IcnRQRnExSEdULU1qanlLT3EtLXJCTmF1Z3JOOVpUYXlnU1lCbC1VVks5elRIZFQ3MEhxMUpzcUJrMTlFSVNrRWtDNk1vN2tBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d7fe889bc77', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d7fe889bc77', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d7fe889bc77', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d7fe889bc77', 'paypal', 'buynow', 'rect', 'gold');
});
}