Octagon Personal Pension Scheme

document.getElementById("submitButton").addEventListener("click", async function (event) { // Prevent the form from submitting traditionally event.preventDefault(); // Get form values const name = document.getElementById("name").value.trim(); const email = document.getElementById("email").value.trim(); const organization = document.getElementById("Organization").value.trim(); const phone = document.getElementById("phone").value.trim(); const service = document.getElementById("service").value; const consentChecked = document.getElementById("dataConsentCheckbox").checked; const product = "pension" // Validate required fields if (!name || !email || !organization || !phone || !service) { alert("Please fill in all required fields."); return; } // Validate checkbox if (!consentChecked) { alert("You must agree to the data consent policy."); return; } // Prepare the form data const formData = { name, email, organization, phone, service,product }; // Disable the button and show "sending" message const submitButton = document.getElementById("submitButton"); submitButton.disabled = true; document.getElementById("responseMessage").innerHTML = `
Sending... Your request is being processed.
`; document.getElementById("responseMessage").style.display = "block"; try { // Send a POST request to the server const response = await fetch('https://cloud.octagonafrica.com/opasdevapi/new/opasapi/tier2', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(formData), }); const result = await response.json(); // Enable the button submitButton.disabled = false; if (result.status === 'success') { // Display success message document.getElementById("responseMessage").innerHTML = `

Thank you, ${name}!

We have received your request for ${service}. Our team at Octagon Africa will contact you shortly at ${phone} or via email at ${email}.


Best regards,
Octagon Africa Team

`; } else { // Display error message document.getElementById("responseMessage").innerHTML = `
Error: ${result.message}
`; } } catch (error) { console.log(error); // Enable the button and show error message in case of failure submitButton.disabled = false; document.getElementById("responseMessage").innerHTML = `
Error: Unable to connect to the server. Please check your internet connection and try again.
`; } });

Octagon Personal Pensions Scheme (OPPS) is an Individual Pension Plan is designed to help and accommodate people in the formal, informal economy, self-employed persons and any individual with inconsistent income streams to contribute and save conveniently for retirement in a flexible and affordable manner towards achieving financial freedom.

BENEFITS                                                                                                                                                     

  • No Minimum Contribution.
  • Automated system. Members can access their information online.
  • Members can choose when to retire.
  • Quick turnaround time for withdrawals.
  • Income Tax relief on contributions upto Kshs 20,000 per month.
  • You can transfer-in your benefits from other schemes at no cost.
  • Excellent customer service.
  • High investment return.

Wenn Sie Ihre hausarbeit schreiben lassen und endlich stressfrei studieren, können Sie sich auf das Wesentliche konzentrieren.