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/bk92apz5op2u/plugin/6/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVeKGiJqNR10U6AQjqXz68NuF6jzXtFllDB6P308-KP78HBYQQ0wM6ln-2IDUbSgvhEmY5vmdObGJTuG");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZmFkMjNiNzViZWU2YWU5Y2VmMzVkOGI3NzJhMTYxNjBmNDVmMTAxMmQyYTY0YzA2OGE4MTQzYjYxMDk0ZTk2NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDgtMTVUMTM6MTE6MjMuMTE3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBkaFFGSGp4TEtacExzdmZoYXdrWUZBb205S3Y3N2daX0NzSEhUVDB4UTFkd2JSdzBKYU8xa1Uzak5wYW9TWUxJSkw1YmNmTVlmc0NhRVNqSGk2TzZjMFhMdFdBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62fa45faad939', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62fa45faad939', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62fa45faad939', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62fa45faad939', 'paypal', 'buynow', 'rect', 'gold');
});
}