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/llqs9o7bcs7z/plugin/1/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AUH4vs7aZ3pYsqAsJ-l7TmxAt8jvckagy3G9AetqPfMjlrcU0MpAw500chTVPEcp47kcQNDz_BTM-PHI");
script.setAttribute("data-currency", "QAR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTU0MDY3YWY4OTg1Y2I5YWJiYjk1ZTdlMzFmM2RlM2ZkZWJlMzRlZWMwOTE2M2E0MzNmMjYxNjgyYzkyNmYyZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMzBUMDg6NDI6MzcuNDY2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5CUHZvLWdGcUo4d2xTM1RUME8tRUdBS3hTYTVmVlFCUWFqdTY3bFhHU1lLM09xS3dUeEFKa2ZwV1hBVHM0WWowb1NodWJQTHlFUmtMNXNnZ216d01nVnNuV2p3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AUH4vs7aZ3pYsqAsJ-l7TmxAt8jvckagy3G9AetqPfMjlrcU0MpAw500chTVPEcp47kcQNDz_BTM-PHI");
script.setAttribute("data-currency", "QAR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTU0MDY3YWY4OTg1Y2I5YWJiYjk1ZTdlMzFmM2RlM2ZkZWJlMzRlZWMwOTE2M2E0MzNmMjYxNjgyYzkyNmYyZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMzBUMDg6NDI6MzcuNDY2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5CUHZvLWdGcUo4d2xTM1RUME8tRUdBS3hTYTVmVlFCUWFqdTY3bFhHU1lLM09xS3dUeEFKa2ZwV1hBVHM0WWowb1NodWJQTHlFUmtMNXNnZ216d01nVnNuV2p3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "en_GB");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6630b818c2d20', 'paypal', 'pay', 'rect', 'gold');
});
} else {
renderPayPalButtons('6630b818c2d20', 'paypal', 'pay', 'rect', 'gold');
}