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/8xdcvvn9kakf/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AaarLwNUyLfukrysQdUXlUKQknIodOtyZ4HdcQ9-1qME1V2b7GXcZdvSCbaL16XuAvktjKMtUw9KTo99");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiM2E4MmQzZDVlODVmN2FhZWZjOGU1Y2Q2YWQ4ZGEzMWJiMGI0ODlkNmVmYjE5MmI3ODFlOWViNGU4NmM3MjFjY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDgtMzFUMDc6Mzc6MjYuNjY5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU92TnRNMnVvTURQUTJtbi03bEF2aHN0N3Z0ZFZ4U1Fkdmw1Xzk4aThQb19JSnplYzd0RE9MYmJtclNRVWZhbU02LWdUNkMzWXl6clo5dFJnRmYzd3doTERMT2xnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64f0435546a6c', 'paylater', 'paypal', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64f0435546a6c', 'paylater', 'paypal', 'pill', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64f0435546a6c', 'paypal', 'buynow', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64f0435546a6c', 'paypal', 'buynow', 'pill', 'gold');
});
}