Create a mandate with a per-debit cap, send the parent the setup link, watch the status, and pause, resume or cancel it.
Finish first: Collect fees at the counter (record a fee payment)
You should see: Tiles Active mandates, Awaiting parent and Last debit failed, status filters (All, active, created, authenticated, paused, rejected, cancelled) and a table with Student, Payer, Method, Max / debit, Status, Next charge, Last error and Actions. A yellow "Razorpay keys are not configured" notice appears when the gateway is missing.
You should see: The Set up AutoPay dialog: "The parent authorises once; due instalments are then debited automatically up to the per-debit limit."
You should see: A toast "Mandate created · Setup link sent (2 message(s))." or "No contact could be messaged; share the link manually." The row shows status created.
The hint under the cap shows the limit for the chosen method. A student can have only one open mandate: "This student already has an open mandate. Cancel it before creating another."
You should see: "Setup link sent" or "Link copied". The link looks like /pay/mandate/<id>.
You should see: A card Fee AutoPay with the student's first name, Method, Most per debit and Valid till, a Set up AutoPay button and the note "Each fee is taken only on its due date and never above the limit shown. You can cancel anytime from your UPI app or bank." After approval: "Approval received". Once the bank confirms, the page shows AutoPay is on.
You should see: The row shows Active with "since <date>" and Next charge: a date or "When due". A failed debit shows the error in Last error and counts in the Last debit failed tile; it is retried two days later, up to three attempts.
You should see: Toasts "Mandate paused", "Mandate resumed" or "Mandate cancelled". A cancelled mandate cannot be reopened.
Debits appear on the collection desk as pending payments until Razorpay confirms; then they get a receipt number and are allocated like any other payment.