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/03jtuzbg4pvm/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AWfO-SQ4uucsdBxWHtgw2RlbCkCOCH1SG1KRwOrBppS2lZa3gnlW8pIJK95OU1A6RsxqMJwYpj5cvand");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmM4ZDhkOWVjYWYwYzlmZmRjZjZmY2FiNzZhYWM4NzI5NTE5MDEwMTk3ZGE3YmU0N2JmZTVlOTFhOGExMzljYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMDVUMTc6MDE6MTkuODMwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1ra2lIV2pMNTcwOGd1QXkyM2h2TmE2OXBPWlJzNm5pdEttUWdNejRnMERCUElwbDJQNFI5RUlNVVBmQk9uV2dneFplQlBFMVhGVFFUeXNZLTNoWFFEQmxoTGl3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AWfO-SQ4uucsdBxWHtgw2RlbCkCOCH1SG1KRwOrBppS2lZa3gnlW8pIJK95OU1A6RsxqMJwYpj5cvand");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmM4ZDhkOWVjYWYwYzlmZmRjZjZmY2FiNzZhYWM4NzI5NTE5MDEwMTk3ZGE3YmU0N2JmZTVlOTFhOGExMzljYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMDVUMTc6MDE6MTkuODMwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1ra2lIV2pMNTcwOGd1QXkyM2h2TmE2OXBPWlJzNm5pdEttUWdNejRnMERCUElwbDJQNFI5RUlNVVBmQk9uV2dneFplQlBFMVhGVFFUeXNZLTNoWFFEQmxoTGl3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('647e16892bd61', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('647e16892bd61', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('647e16892bd61', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('647e16892bd61', 'paypal', 'buynow', 'rect', 'gold');
});
}