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/c4318g4qalz3/plugin/5/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVqh90PkZZsMnkN4MyR78mokchxky2fCi92qdxyFiwC4RC46kVTo1NWt7Ql9eCCrzWeXCseFW3wBvlqw");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTA5MDVjNjg2YmM3OTZiYTA4MjlmMmEyYzZlNWJhODU4NTkxNGJlNzE5N2Q4OTU2MWFmNTVjYjJkMTQxM2FmMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjZUMDk6MDU6MDAuNDA4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU51OU9yM3RIRlVXbUVxQzh6Nzd2QmVocDJGM0xyNFdhcWlGSFl1QzNDZE1KNVpZYWdBMUJXM2F3a3J1bGJqZGU4TzBCN19SWS1pSHNZdGlKMG9kSWRPQkR1d3ZnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d24f5a3a9b3', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d24f5a3a9b3', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d24f5a3a9b3', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d24f5a3a9b3', 'paypal', 'buynow', 'rect', 'gold');
});
}