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/2eer20ly5e5k/plugin/29/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Afwxj59KG1Uy0lo4yLB-5YaCyxjAsatsHJepTczYaAJPh-6ql4B2if39aDTrbVD5spCg-a-7-h8sJWEM");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjAyNGIzY2U3NjY4MDU0YWY3M2FmNTU1OGU2YzI2ZDcyNzIzOTBmNGYxM2VhZTU4NTU2MDIxY2NjNmFlMDliN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDItMTFUMTk6MTU6NTcuODczWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB3SVlWTWktMDdJTGJoNGV6aGY3cmNENDJ5ZjE5Rk15Zlg2VUpaalRRMUhoOXRhb3hwVGdYYUVQWkd2dDY0RUtnOVg5alBHVEU0dG80THFKZzBrQVItVkFCaUlBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65c9294f5b11b', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65c9294f5b11b', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65c9294f5b11b', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65c9294f5b11b', 'paypal', 'buynow', 'rect', 'gold');
});
}