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/h50oisx8lord/plugin/22/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQGBOle0F7Cy6hjV2GRqQ0zhml3rH1w-RFJMss1PmxvwEkIqXG7HQ0rtIEcZxbO9TP-8zZdBo8ytEtbi");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDk5OWY0MDQ0YjYyZjdjNTA2MzQwZTVjNTMxNGRkM2Y0Yjk0MGM0ZTAxMDNjZTlkNWVhZjk1NzhmNzg3ZTIzMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMjFUMDk6NDg6MjguOTg2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9uaDAwRnBUN3g5SjVYQXJ6ZngySFU3M2UyYkpsTFEydG41ME8xNmRXbHFaMEpEU1Y2MVRVY1ByNHZvMnJjY1hoc3l0bzZDRF9CXzJ4cFNOSTN3NzREdnZrV2NnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AQGBOle0F7Cy6hjV2GRqQ0zhml3rH1w-RFJMss1PmxvwEkIqXG7HQ0rtIEcZxbO9TP-8zZdBo8ytEtbi");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDk5OWY0MDQ0YjYyZjdjNTA2MzQwZTVjNTMxNGRkM2Y0Yjk0MGM0ZTAxMDNjZTlkNWVhZjk1NzhmNzg3ZTIzMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMjFUMDk6NDg6MjguOTg2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9uaDAwRnBUN3g5SjVYQXJ6ZngySFU3M2UyYkpsTFEydG41ME8xNmRXbHFaMEpEU1Y2MVRVY1ByNHZvMnJjY1hoc3l0bzZDRF9CXzJ4cFNOSTN3NzREdnZrV2NnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('641980010e0d6', 'paylater', 'paypal', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('641980010e0d6', 'paylater', 'paypal', 'rect', 'blue');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('641980010e0d6', 'paypal', 'buynow', 'pill', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('641980010e0d6', 'paypal', 'buynow', 'pill', 'blue');
});
}