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