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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmUwZTYxMjJiYzkwZmZlMTRiMzY5MWQ0MjQxNTQyYzA1YmM1ODA4M2YxY2FmMzJjZjk5NzJmNGI0OTcxZDA4NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMjdUMTg6NDk6MDguNTIyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5IOEpHTWdzTHllU3V4dTJpRzNfaDNWcTdwQU9YNU9UbWJGSzZfTlp5bFcyc0RxMkh3dWFDS0NVMEIzYXVUNEFVZll3S3NqbXJfZkFKWjdWYUJtYjJtUGpIaFhnIn19");
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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmUwZTYxMjJiYzkwZmZlMTRiMzY5MWQ0MjQxNTQyYzA1YmM1ODA4M2YxY2FmMzJjZjk5NzJmNGI0OTcxZDA4NXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMjdUMTg6NDk6MDguNTIyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5IOEpHTWdzTHllU3V4dTJpRzNfaDNWcTdwQU9YNU9UbWJGSzZfTlp5bFcyc0RxMkh3dWFDS0NVMEIzYXVUNEFVZll3S3NqbXJfZkFKWjdWYUJtYjJtUGpIaFhnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6421e9535e59b', 'paylater', 'paypal', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6421e9535e59b', 'paylater', 'paypal', 'rect', 'blue');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6421e9535e59b', 'paypal', 'buynow', 'pill', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6421e9535e59b', 'paypal', 'buynow', 'pill', 'blue');
});
}