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