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/luxn8kd69vu5/plugin/11/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AceTVjFsjfRQtSmjeZG20pC1evOBa1NLHjevipevkadsgmz_3MpPEcF3pGdrCLsoAvmp5-UlJjiPYONx");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjhhOTg0MTBmYzdhZjI5MzJmN2RiYzI5YTg1ZWJlNGU3ODY1Y2UwZmIxMjljMTFiOTM5OTJjNGZlODFmZTczOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDgtMjBUMDA6MTE6NTMuNDgzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA1QVlBYnB1a1NJNFZ0WEI3WnRqVXdkNVZvUVdlb0lrX0dvOG8yMXBrbUpsYld1UzliSWloanl0SDFwZ2J4V01kN01kTnNGbnpWc2xHMlVCWWJoNnlFa3BqcW5RIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6300280edfaff', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6300280edfaff', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6300280edfaff', 'paypal', 'buynow', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6300280edfaff', 'paypal', 'buynow', 'rect', 'white');
});
}