Payment Successful – IELTS Computer

Payment Successful

Your purchase is confirmed. Click below to return to IELTS Computer and get started.

Open in IELTS Computer

If the app doesn't open, make sure IELTS Computer is installed on this device.

// 1. Read session_id Stripe appends to the return URL var sessionId = new URLSearchParams(window.location.search).get("session_id") || ""; // 2. Show session ID in the UI if present if (sessionId) { var sidEl = document.getElementById("sid"); var rowEl = document.getElementById("sessionRow"); sidEl.textContent = sessionId; rowEl.style.display = "flex"; } // 3. Build the URL scheme deep link and set it directly on the href // This will immediately open the app and pass result=success and session_id var deepLink = "ieltscomputer://stripe-return?result=success" + (sessionId ? "&session_id=" + encodeURIComponent(sessionId) : ""); document.getElementById("btn").setAttribute("href", deepLink); // 4. Show fallback hint after 2.5s if app didn't open document.getElementById("btn").addEventListener("click", function () { var fallback = document.getElementById("fallback"); fallback.classList.remove("visible"); setTimeout(function () { fallback.classList.add("visible"); }, 2500); });
Payment Canceled – IELTS Computer document.getElementById("btn").addEventListener("click", function () { var fallback = document.getElementById("fallback"); fallback.classList.remove("visible"); setTimeout(function () { fallback.classList.add("visible"); }, 2500); });