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/cjzy99lu9zd1/plugin/40/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AWDVnnHUb6B5ACJ6nzhNV9HBd_b_rzOYV-1RmrSwLHwNugB6JoAoog_JUKa5v4iCBJXXSi9kXavwQpEL");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjhhN2NiNjYxNTI3NTcyZDMyNTgyOTg4Y2M0NzE2ZmY2Y2I4YjFmZTQwYzVlNTc2NmZjMWUzNzFiMDBmODEwZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDEtMjFUMDQ6NTk6MTQuMDE1NTA5ODcxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBta1BDSG5abERUS3lfdkN2RnVTbmVCem9QVTdBWFg3M1NoLU5MSC0tRmxkc3NWNll0TEpVWnAxQmlrRnNaQ1UyZ0J6QXZCd3E5R1dpdmRPN1Vma2xZYUc1c0p3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('678f31ea8b67f', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('678f31ea8b67f', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('678f31ea8b67f', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('678f31ea8b67f', 'paypal', 'buynow', 'rect', 'gold');
});
}