Unibandh · Help centre
Recording planSign in
Unibandh · School management for Indian schools · Home
    Help centre/Fees/Lesson 8

    Set up AutoPay (UPI AutoPay, e-NACH or card) for a student

    Create a mandate with a per-debit cap, send the parent the setup link, watch the status, and pause, resume or cancel it.

    Open /fees/mandatesRecording script
    7 min7 stepsOwner, Admin, AccountantDemo: sign in as Accountant

    Before you start

    Finish first: Collect fees at the counter (record a fee payment)

    • Razorpay keys are configured; without them mandates can be recorded but parents cannot authorise them and no debits run.
    • The student has a guardian with a mobile number.

    Steps

    0 of 7 done
    1. 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.

      Open /fees/mandates
    2. You should see: The Set up AutoPay dialog: "The parent authorises once; due instalments are then debited automatically up to the per-debit limit."

      Open /fees
    3. 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."

    4. You should see: "Setup link sent" or "Link copied". The link looks like /pay/mandate/<id>.

    5. 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.

    6. 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.

    7. 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.

    What you have now

    • An active mandate per student; instalments due within three days are debited automatically and receipted.

    If something goes wrong

    "Razorpay keys are not configured" notice
    The platform team must set RAZORPAY_KEY_ID / RAZORPAY_KEY_SECRET. Until then parents see "AutoPay is not available yet" on the setup page.
    "Only active mandates can be paused."
    The mandate is still created or authenticated; wait for the bank confirmation.
    "A cancelled mandate cannot be reopened."
    Create a new mandate and send a new setup link.
    Parent sees "This AutoPay link is no longer active"
    The mandate was cancelled or already set up. Send a fresh link from a new mandate.
    Only owners, admins, accountants and the principal can see mandates
    Front office cannot open this page; ask the accountant.

    Related guides

    • How a parent pays online from the pay link
    • Reconcile receipts with the bank statement and Razorpay settlements
    How a parent pays online from the pay linkNext: Receive a cheque or post-dated cheque (PDC)