Thanh toán đã bị hủy
Bạn đã hủy quá trình thanh toán. Đăng ký của bạn chưa được xác nhận.
"use client"; import { Suspense, useEffect, useState } from "react"; import { useSearchParams } from "next/navigation"; import Link from "next/link"; function CancelContent() { const searchParams = useSearchParams(); const token = searchParams.get("token"); const [cancelled, setCancelled] = useState(false); useEffect(() => { if (token) { fetch("/ipv6/api/payments/cancel", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ token }), }).finally(() => setCancelled(true)); } else { setCancelled(true); } }, [token]); return ( <> {!cancelled && (
Đang cập nhật trạng thái...
)} > ); } export default function RegistrationCancelPage() { return (Bạn đã hủy quá trình thanh toán. Đăng ký của bạn chưa được xác nhận.