Back to the AllSorted website

Changelog

What we shipped, when. Newest first.

Combined release collection safeguards

29-09-2026

Billing

  • Bills held for a chargeback or a detached bank payment no longer use up the collection run's limit. Eligible bills further down the list can still be collected, while held bills remain blocked.
  • A failed Direct Debit only shows an automatic retry date when the club's collection start setting permits that bill to be collected.
  • Release readiness also checks the exact finished-payment release and updated failure-notification SQL. These owner-applied units must be installed before the final readiness unit and application deployment. No remote SQL has been applied during integration.
  • Direct Debit bring-across now includes the existing collection-date setting and its impact preview before linking. The confirmed date remains subject to the same server permissions and confirmation checks as Settings.
  • The Direct Debit linking rehearsal uses a disposable database clone and no longer resets the shared local test stack.
  • The combined refund webhook keeps the demo-club guard before refund observation. Demo refunds are acknowledged without recording refund or credit-note changes.
  • Invoice issuance is verified together with the collection-date safeguard: older bills stay untouched until the club chooses a date that includes them, and eligible bills receive their number before the payment request.

Communications

  • A suppressed email no longer resets the retry counter for a scheduled send whose text messages still cannot reach the gateway. Only a new delivery resets that counter; both saved-member and previously rendered sending paths follow the same rule.

Member request withdrawal follow-up

Automatic withdrawal after a member pauses or leaves now queues one short family message per member and request. An approval waiting to be sent cannot include a withdrawn member. A busy withdrawal retry returns promptly, and plan-card Cancel directs current return offers to the return controls.

Operator requirement: apply additive member-request-release-05.sql after units 01–04 and run its read-only postflight, then deploy the application. Notices wait with a compatibility marker that older workers cannot consume; the new worker releases them in bounded pages only when that club has a live withdrawal trigger with a published version. Install and publish the new withdrawal starter automation through the existing owner-controlled workflow; this change enables no flags and sends no live messages. Required SQL readiness must reflect the final composed definitions. See the member-request fixes operations report.

Retry settings

  • A failed Direct Debit keeps the retry gap chosen for that invoice's attempt. Later settings changes cannot add a retry after its last attempt or remove one already scheduled.
  • Retry settings now freeze old exhausted invoices and save the new policy with its audit receipt in one transaction, so simultaneous saves cannot cancel a newly scheduled retry. Requires owner-applied collection-retry-policy-01.sql, its exact postflight, and regenerated final readiness SQL before application deployment; the settings route fails closed without it.

Pending withdrawal delivery

Release correction: an automatic withdrawal that is still busy now holds affected request messages without spending delivery retries. Other family members and household details keep working. Delayed grouped messages recheck their members before sending; a completed withdrawal invalidates an old frozen summary. A family message already sent retains its coverage markers if a later step must wait.

Additional operator requirement: apply member-request-withdrawal-delivery-06.sql after 05, with its read-only preflight/postflight, before this code and final required-SQL readiness. The new bounded read RPC is service-only; missing SQL fails closed. No new flag or sender is enabled.

Billing messages follow each bill's retry schedule

  • Changing the club's retry policy no longer makes family messages contradict a bill's retained schedule. An existing retry stays a retry when fewer future tries are chosen; an exhausted bill keeps its stopped-trying message when more future tries are chosen. This applies to Direct Debit failure messages, queued card failures and the New bill collection wording.
  • Messages do not promise automatic collection for a bill before the club's collection start date, or while that setting is invalid. A Direct Debit already requested keeps its existing wording. The recommended-message preview uses the same schedule and collection-date rules for its immediate stopped-message count.
  • No new SQL, flag or message activation is required by this correction. The retry policy's existing reviewed SQL prerequisites remain unchanged.

Collection start dates, portal lesson coverage and release preparation

28-09-2026

Member portal

  • Progress: the syllabus list now has one "Lessons covered" heading. Each item has a small number next to it, on the right (on the left in Arabic, Persian and Urdu). The number is how many lessons the member went to where the coach taught that item. This replaces the sentence that used to repeat under every item.
  • Tap a number to see the dates of those lessons, newest first, in the language the family has chosen. If two of those lessons were on the same day, their start times show too. The dates only load when you tap, 50 at a time, with "Show older dates" for more. Close it with the Close button, the Escape key or a tap anywhere else.
  • A 0 shows as a grey "0" with nothing to open. If every item's number is 0 (for example, when a club doesn't record which lessons covered what), the heading and the numbers stay hidden until one of them is above 0. If the numbers can't load, one line says so, instead of a message under every item.
  • In Arabic, Persian and Urdu, pop-ups and menus now grow out from the side of the button that opened them, as they already did in the other languages.
  • The dates only ever show the signed-in family's own member; the server still checks this on every tap. The lesson dates list now always comes back newest first. No SQL, settings or data changes are needed.
  • The new wording is drafted in all eleven other portal languages. As for every language pack, no native-speaker review is recorded yet.

Owner SQL and development checks

  • Owner SQL runbook: the one ordered SQL list now includes the family renewals payments basket (step 37), with the Cover companion I2 in its place. It also has a place for refund records (step 38): recording refunds is moving into the release (owner decision, 28 September), and its unit joins the list with the payment automations work. GoCardless payment facts may follow; that is still to be decided. There is also a place for the member request withdraw units (step 39). No SQL or application change.
  • Owner checks: the read-only check that every other database function the app uses is installed now skips the Xero functions, which stay switched off until Xero is turned on. It lists 401 functions to confirm. A release test now proves each Xero function is only in the Xero switch-on SQL and is only called by Xero code. No application change.
  • Development checks: the family pricing and invoice collection database rehearsals now run on their own throwaway copy of the test database, which they remove afterwards, instead of resetting the shared test database. Several checks can now run at the same time without disturbing each other. They test exactly the same things as before. No application change.
  • Owner SQL runbook: the one ordered SQL list now includes the dated price changes, the restart rule and the paused-family portal as ordinary steps (31–33). The allowance scope step (8) now describes the plan list with its check code, and grade undo is "same person, same day". Step 32 adds the read-only billing start check, with its backfill only when that check asks for it. The check runs again before the first billing run. In the older step list the renewals basket is now step 17f. No SQL or application change.
  • Owner SQL runbook: the one ordered SQL list now gives the Action Centre's database step (36) in full: the check before, the three units in order, and what the check after must show. The switch-on step (45) also says how to turn it off. audit-events-01 is not run again (it has been live since 16 July). No SQL or application change.

Collection start dates and billing

  • Payments (owner decision): a new setting in Settings → Payments, "Which date would you like to collect from?". AllSorted then collects Direct Debits and saved cards only for bills due on or after that date: "AllSorted will collect bills due on or after 1 November 2026, by Direct Debit and saved card. Older unpaid bills won't be collected automatically." This covers every automatic collection, including the Video Review top-up. Before you save a date, the page shows what it would mean, for example "From 1 November 2026, AllSorted will collect 12 bills (£540.00) by Direct Debit and saved card, and 3 older unpaid bills (£135.00) won't be collected automatically." Moving the date earlier, or clearing it, asks you to confirm first, because older bills would then be collected. Owners and admins can change it; each change is recorded. Clubs without a date collect as before.
  • Payments: older unpaid bills from before the date are listed under the setting, each with its family, so you can mark them paid, cancel them or collect them. The Action Centre shows one item for them, for example "3 unpaid bills from before your collect-from date (£135.00): mark paid, cancel or collect them", and it closes itself once none are left. Staff can still collect an older bill by Direct Debit from the family's page, after confirming. A late bill that is held for a check but was due before the date no longer shows as held, because it is never collected automatically. No SQL change. Local work only; deployment remains pending.
  • Payments (owner decision): when a club connects GoCardless for the first time and has no collect-from date, AllSorted saves today's date straight away, so no older bills are collected before the club has chosen. Settings → Payments then opens with "Which date would you like to collect from?" at the top, showing what the date means, a preview and the older unpaid bills. The date covers saved cards too, so older unpaid card bills also wait for the club's answer. A club that already has a date keeps it, and reconnecting changes nothing. Each default is recorded. No SQL change. Local work only; deployment remains pending.
  • Payments (review): "no date" never means "collect everything" any more. A club that has never chosen a collect-from date, including clubs that were already connected before this change, gets one automatically: the first time AllSorted collects, it saves that day's date first and records it, so no older bills are collected until the club chooses. If that can't be saved, nothing is collected for the club that day. Clearing the date on purpose (after confirming) still collects every bill that's due. If the saved date is ever not a real date, AllSorted collects nothing automatically for that club, the billing run reports it, and staff see "Your collect-from date isn't a valid date, so nothing will be collected automatically. Fix it in Settings → Payments." Settings → Payments says so and lets you choose a date or clear it; collecting a bill by hand asks first. No SQL change. Local work only; deployment remains pending.
  • Payments (review): a late bill that waits for a staff check, but was due before the collect-from date, is no longer closed. Its check stays open and is only hidden while the bill is before the date. If you move the date earlier, the bill is held until you check it on the family's page, and the Action Centre shows it again. Moving the date earlier also tells you how many of the bills it lets in are late bills that still need a check. No SQL change. Local work only; deployment remains pending.
  • Payments (review): when you confirm moving the collect-from date earlier, the confirmation only counts for what you were shown. If someone else changed the date in the meantime, you are asked again with the new numbers, and nothing is saved over their change. Clubs with a great many unpaid bills can still choose their date: the bills are only counted when the change could let some be collected. Collecting a bill with no due date by hand now asks in plain words. The setting and its preview say "by Direct Debit and saved card", because saved cards follow the date too. No SQL change. Local work only; deployment remains pending.
  • Billing (review): changing a bill's due date so that AllSorted would start collecting it automatically (from before your collect-from date to on or after it) now asks first, in plain words, and saves only when you save again. No SQL change. Local work only; deployment remains pending.
  • Payments (review): Settings → Payments now says that the collect-from date doesn't stop a payment already sent to GoCardless, or a retry GoCardless has already planned. On the Arrears page, "DD retrying" now only shows when a retry will really happen (GoCardless's own retry, or AllSorted's next try for a bill on or after the collect-from date); a bill that won't be tried again shows "DD failed". No SQL change. Local work only; deployment remains pending.
  • Payments (review): each billing run now reaches every bill it can collect. Before, it picked its 100 bills before leaving out the ones it couldn't collect (families who pay by hand, or bills that had used every try), so once a club had 100 or more of those, some collectable bills were never reached. Now those are left out first, the rest go oldest due first, and only bills it will really charge count towards the 100; any left over wait for the next run. The skipped bills are counted as before. No SQL change. Local work only; deployment remains pending.
  • Payments (review): the daily billing run and the background billing jobs now always use the club's own date, never the UTC date. Late in the evening in summer the UTC date is still the day before, so a background run could have treated the wrong bills as due, or saved the wrong day as a club's first collect-from date. No SQL change. Local work only; deployment remains pending.
  • Development checks: db:rehearse-collect-from (CI pack db-collect-from) runs the real collection code against a disposable database copy, with no payment provider reachable: Direct Debit and saved card, the Video Review top-up, held late bills, the preview, the grouped item and a first Direct Debit connect. No behaviour change.

title: Direct Debit review fixes: whose address is copied, switching bank, refused links date: 2026-09-28 ---

  • Families with no address (review fix, safeguarding): AllSorted now copies a payer's address from GoCardless only when the payer is the family's main contact. That means their GoCardless email is the family's main contact email. A billing email doesn't count (the billing contact may be the other parent), and neither does how the Direct Debit was set up, because staff can send a family's set-up link to anyone. Anyone else is left out. For example, when separated parents share the cost and the father pays by Direct Debit for a child whose family in AllSorted is the mother's, his home address is never copied onto her family or shown in her portal. This applies when a Direct Debit is linked, when GoCardless first reports a new one, and to "Copy missing addresses", whose confirmation now says so. Its summary counts the payers who were left out ("1 payer isn't the family's main contact, so their address wasn't copied."). Local work only; deployment remains pending.
  • Moving a Direct Debit to another family (review fix): if AllSorted had copied the payer's address into the old family and that family never confirmed or changed it, the address is now removed again, and the audit log records it as cleared ("Direct Debit moved to another family"). An address the family confirmed, changed or that staff typed always stays. When a family answers "Is it right?" in the portal, the audit log now also records which portal user answered. The family-address SQL unit household-address-from-gocardless-01 gains a fourth function for this, and its answer function takes the portal user's email. It was edited in place (it hasn't been applied anywhere yet), and the production build now requires 86 definitions and 67 functions. Its locks on the family's record no longer hold up adding a member or a booking for that family. Local work only; deployment remains pending.
  • Linking Direct Debits (review fix): when a link is refused because the family already got another Direct Debit at the same moment, AllSorted now puts the Direct Debit's GoCardless labels back exactly as they were before (for a move, its collections' labels too), and the audit log records it ("link refused", and whether the labels were put back). If GoCardless can't be reached to put them back, a staff item appears in Payments Health. The bring-across list also never trusts AllSorted's label on a Direct Debit whose link was refused, so it can't show "Set up through AllSorted" for the wrong family. Local work only; deployment remains pending.
  • Switching bank (review fix): with the owner's "another app uses this GoCardless account" switch on, a family's bank switch in the portal left both Direct Debits live, for every family. AllSorted now looks at the old Direct Debit itself. It cancels it when it carries only AllSorted's own labels and GoCardless shows nothing else using it. It keeps it, and tells staff in Payments Health, only when GoCardless shows another app may use it: a collection AllSorted doesn't track, a payment AllSorted didn't ask for in the last 90 days, another app's label, or (while the switch is on) no label at all. If GoCardless can't be checked just then, AllSorted waits and tries again when GoCardless resends the message, instead of keeping the old Direct Debit for good. Automatic collection now always uses a family's newest active Direct Debit. Local work only; deployment remains pending.
  • GoCardless messages (review fix): if the first message about a Direct Debit AllSorted set up for a family was lost, later messages about it (for example "active") were ignored as if it belonged to another app. AllSorted now records it for that family and applies the message, when the Direct Debit's own labels name one of the club's families or members. A label left behind by a refused link is never trusted: staff see an item in Payments Health instead. Direct Debits that name none of the club's families are still ignored. Local work only; deployment remains pending.
  • Bring existing Direct Debits across (review fix): a payer email that matches a family's carer contact now goes to "Please check" ("Payer email matches a carer contact for the Smith Family, who may not be the payer"), not "Ready". A carer may look after a child without paying for them. Only the family's main contact, its billing email, and parent or guardian contacts count as the payer's. Local work only; deployment remains pending.
  • Linking Direct Debits (review fix): the wait for the owner's switch now also holds on the server, not just in the page. Linking (on the bring-across page, or "Link existing mandate" on a family's page) goes ahead only when the owner has marked the GoCardless account as shared, or the person linking answered "No, only AllSorted" to "Does another app (for example GoCardless for Xero) also collect payments from this GoCardless account?". A family's link dialog now asks that question too, while the switch is off. After "Yes, another app does", linking waits until the owner turns the switch on in Settings → Payments. Moving or cancelling a Direct Debit AllSorted already has isn't affected. Local work only; deployment remains pending.
  • Household Direct Debit card (review fix): the "could pay twice" check asked GoCardless for two lists per Direct Debit every time the household was opened. It now reuses those answers for up to a minute, so opening a household again straight away is quicker and asks GoCardless less. Who can see the card and which family it is are still checked every time. Local work only; deployment remains pending.
  • Owner SQL runbook step 17c: now says plainly which pending Direct Debit SQL files were changed in place since the first handover (unit 01's checks, the shared-account switch, the family-address unit), that none has been applied anywhere yet, and to use the current files. No SQL or application change. Local work only.
  • GoCardless messages (payments QA): a message with a missing or wrong signature now gets the answer GoCardless expects (498), so it stops resending it. A message for the demo club is now acknowledged and ignored, instead of failing and being resent until GoCardless gives up. Tests now prove that with two clubs connected, each message goes to the club it names, and that AllSorted never guesses which club an unnamed message is for. A Direct Debit made in the GoCardless dashboard, with none of AllSorted's labels, is acknowledged from start to finish without recording anything. Local work only; deployment remains pending.
  • GoCardless payments (payments QA, decided safely): a payment AllSorted didn't ask for, for example one someone made in the GoCardless dashboard on a family's linked Direct Debit, no longer becomes a hidden "Membership — Direct Debit" bill (it had no bill number and the family was never sent it). Staff now see an item instead: money was paid to GoCardless but isn't on any bill here, with the family it came from, so they can add the right bill or refund it. AllSorted's own collections (bills it asked GoCardless to collect, and its recurring collections) work as before. When the owner has said another app uses the GoCardless account, that app's payments are still simply left alone. Local work only; deployment remains pending.
  • Direct Debits GoCardless replaces (payments QA): sometimes GoCardless swaps a family's Direct Debit for a new one (for example when the club's bank reference changes). AllSorted used to ignore this and kept trying to collect from the old one, which no longer works. Now it records the new Direct Debit for the same family or member, moves the family's regular collections to it, and shows staff an item that says the Direct Debit was replaced (for information only). If AllSorted can't tell which Direct Debit replaced it, or the new one belongs to another payer or another family, nothing is moved and staff are asked to check. Local work only; deployment remains pending.
  • Payer moved to a new bank (payments QA): when a payer moves their Direct Debit to a new bank, AllSorted now updates the bank name and the last digits of the account number it keeps for that Direct Debit. It never reads the account holder's name. Local work only; deployment remains pending.
  • GoCardless messages the payment history needs (payments QA): messages that GoCardless took a failed payment or a chargeback back out of a payout, or charged or refunded a fee for a failed payment, are no longer ignored. AllSorted checks the payment again and records the message under its own name for the payment history. These checks never send anything to a family. Messages that a payer skipped an approval step, or that a Direct Debit was sent to the bank again after a bank move, now update the Direct Debit's status. Local work only; deployment remains pending.
  • GoCardless account problems (payments QA): staff now see an item in the Action Centre when GoCardless freezes the club's account, when GoCardless needs the club to check its account details, when the club's GoCardless account is disconnected from AllSorted, and when a payout didn't reach the club's bank (with the amount). Each item closes by itself when the problem is over: GoCardless unfreezes the account, the check is being reviewed or is done, the club connects GoCardless again, or the payout is paid. If it happens again, the item comes back. Refunds that fail are handled by the separate refunds work. Local work only; deployment remains pending.
  • Payouts that didn't reach the club's bank (owner decision): the staff item for a payout that bounced now also closes by itself when any later payout to the club is paid, because that shows the club's bank takes payouts again. A payout paid before the bounce doesn't count, and neither does one for another GoCardless account or currency. Staff still can't close this item by hand. Local work only; deployment remains pending.
  • GoCardless disconnected (owner decision): when GoCardless tells AllSorted that a club's GoCardless account was disconnected (for example from inside GoCardless), AllSorted now marks the club's connection as disconnected. It stops using the old connection, keeps the record of which GoCardless account it was, and notes it in the audit log. Settings → Payments says: "GoCardless was disconnected on 28 Sept 2026, so Direct Debits can't be collected. Reconnect to start again.", with a button for the owner to reconnect the normal way. Only a genuine, signed message from GoCardless that names the club's own account can do this, and a message from before the club last connected changes nothing. Local work only; deployment remains pending.
  • Direct Debits GoCardless replaces (review fix): AllSorted now also refuses to move a family to a replacement Direct Debit when GoCardless doesn't show who pays both of them, or when GoCardless's message and GoCardless itself name different replacements. Nothing is moved, and staff are asked to check. Messages for the demo club are now always acknowledged and ignored, however they arrive, instead of failing and being resent. Local work only; deployment remains pending.
  • Linking Direct Debits (review fix): when a link is refused, AllSorted puts the Direct Debit's GoCardless labels back only if they are still the ones that link wrote. If another link has claimed the same Direct Debit in the meantime, its labels are left alone, and the audit log says so. Local work only; deployment remains pending.
  • GoCardless account frozen (review fix): GoCardless's messages that it froze the club's account, and that it lifted the freeze, can arrive in either order. AllSorted now goes by when each one happened, so a late message can't leave the "account frozen" item open or open it again by mistake. If the "freeze lifted" message never arrives, AllSorted checks GoCardless's own record of the account's messages the next time GoCardless tells it about a payout or the account, and closes the item if the freeze was lifted. Local work only; deployment remains pending.
  • Families with no address (review fixes): if AllSorted copied a payer's address from a Direct Debit that GoCardless later replaced with a new one, moving the new Direct Debit to another family now takes that address back too, as long as the family never confirmed or changed it. And a family member whose sign-in email is unusual but valid can now answer "Is this address right?" in the portal; the check uses the same rule as the portal sign-in itself. The family-address SQL unit household-address-from-gocardless-01 gains a fifth function for this and was edited in place again (it hasn't been applied anywhere yet); the production build now requires 87 definitions and 68 functions. Local work only; deployment remains pending.
  • Programs: staff can now give a program's joining fee a promotion, right under the joining fee on the program's edit page (Settings → Programs → Edit). A promotion takes an amount off, takes a percentage off or sets a new joining fee, from a first day to a last day (the club's calendar), with an optional limit (for example "20 families") and an optional code. Staff can change or stop a promotion, and see how many families used it and who. Only staff who can edit the joining fee can manage promotions, and demo clubs can't save them.
  • Enrolment: the usual enrolment form applies the promotion by itself. Families see the lower price on the program card, and a "Have a code?" box when the program has a code promotion. The quote, the payment and the bill all use the lower price. The bill keeps the joining fee line and adds a "Promotion: <name>" line under it, as the same kind of charge, so the joining fee never goes below zero. Staff-created enrolments (Add member) work the same way.
  • One promotion per enrolment: the one that saves the most. Promotions without a code count for everyone; a code promotion counts once its code is entered. Promotions never add up.
  • The limit is exact: if two families take the last place at the same moment, one gets it and the other pays the normal joining fee. An unpaid enrolment keeps its place for one hour, and the form checks again just before any money is taken, which gives it another hour. After that, or if its link is cancelled or expires, the place goes back.
  • If the offer runs out while a family is part-way through their link, the form tells them "The offer has run out, so the joining fee is now £X" before any money is taken, and they carry on straight away at the full price on the same link. Staff don't need to send a new link. Add member works the same way for staff.
  • In the rare case that a payment still goes through after the last place went, the family keeps the offer price. The limit then goes over by one, and "Who used it" says so: "Joined after the last place went. We kept the offer price for them." The count stays honest, for example "Used 21 of 20".
  • If a promotion would leave less than 50p to pay (but more than nothing), the enrolment is made free instead, because a card payment can't be that small. The bill shows the whole joining fee taken off and comes to £0.00, numbered and marked paid. If other items make the total 50p or more, nothing changes.
  • Codes: a code that is used up and a code that doesn't lower this fee get the same plain answer. A code that works while a bigger offer already applies says "Your code works, but a better offer is already applied". If the offer a family saw was replaced by a smaller one, the quote says so. A link can only check codes for its own program. Dates show in the family's language.
  • Refunds are unchanged: a refund gives back what was actually paid, the promotion line stays on the bill, and the place stays used ("Who used it" shows refunded or part refunded). Clubs that charge VAT and use Xero: when you refund a bill that has a promotion on it, make the credit note in Xero by hand. AllSorted can't make that one for you yet.
  • Needs SQL unit enrollment-fee-promotions-01 (step 17i, after invoice-issuance-contract-02 and enrollment-stripe-checkout-01, and before readiness). It also gives the frozen enrolment quote one narrow new exception: a quote refreshed at the full price after its promotion ended or filled, before any payment. Until the unit is applied no promotion is shown or applied, and a code is refused in plain words. Local work only; deployment remains pending.
  • Final release review, 29 September: a delayed Direct Debit creation event cannot undo a refused link. Existing links keep their stored family, including when filling an empty address. A delayed activation or reinstatement for an older Direct Debit cannot cancel the newer one; cancellation rechecks the selected mandate and family immediately before asking GoCardless. No new SQL or activation is required for this correction. Local work only; deployment remains pending.

title: Member requests — withdraw one member, automatic withdrawal when someone leaves or is paused, and fewer dead ends date: 2026-09-28 ---

  • Member requests: staff can now withdraw one member from a request without cancelling it for the whole family. Use Withdraw member on the household page (Review open requests), on a review card, or on a scheduled class change. It works before the change happens: not answered yet, sent back for changes, waiting for review, accepted and waiting for its start date, or back for review. You write a short reason; the family sees "Withdrawn by the club" and your reason in their portal history. The member's current plan and classes stay as they are, and brothers and sisters in the same request are not affected. It cannot be used once the change has happened, while it is being applied, or when a Video Review add-on from the request has already been charged; the message says so in plain words. If part of an older request already happened (for example its class change), only the part still to come is withdrawn, and the screen says the rest stays. An offer for a member to come back from a pause, or to take a place from the waiting list, is not withdrawn here while they can still take it: if the family does not answer by the reply date, it closes by itself. If that member has left, the offer is withdrawn like any other request and the return is closed. The audit log records who withdrew and that a reason was given; the reason itself is kept only for the family to see. Same permission as approving or rejecting requests. Needs SQL unit member-request-withdraw-01.
  • Member requests: when a member is marked a leaver or paused, any open or accepted request for that member is now withdrawn automatically, so it never waits forever. This covers a single status change, bulk status changes, pausing and scheduled status changes. The household page shows "Request withdrawn because <name> left" (or "was paused"), and the change is recorded with who made it. Other family members keep their requests. If the member comes back, send them a new request. The status change never waits for this: if the family is busy with another save at that moment, the status still changes straight away and the withdrawal is finished by the member-request maintenance job within about five minutes. An offer for a paused member to come back is left alone; a leaver's is withdrawn and the return closed. If a member who accepted a waiting-list place while active is then paused, that offer is withdrawn too (otherwise it would restart them on its start date); the member's page shows "Return needs review" so staff can decide about the waiting-list place. If the withdrawal keeps failing for one family, it is tried again the next day rather than every few minutes. This only happens for status changes made after the update; members who had already left or been paused keep their request, and the household page now marks it so you can withdraw it yourself. Needs SQL unit member-request-withdraw-01.
  • Member requests: the household plan-card Cancel on a member's membership question now also closes that member's unanswered class question in the same request. Before, the class question stayed open and could never be answered. Needs SQL unit member-request-dead-ends-02.
  • Member requests: Cancel change on a scheduled class change that goes with a new membership is now refused with a plain explanation ("This class change goes with a new membership, so it can't be cancelled on its own. Use 'Withdraw member' to stop both."), and those cards show Withdraw member instead. Before, cancelling it quietly sent the whole family back to review on the start date. Needs SQL unit member-request-dead-ends-02.
  • Member requests: Return for changes now brings the member's saved membership details up to date, so the family can answer again after staff changed a status, discount or plan. If the member moved to a different membership agreement (or gained or lost one), returning is refused with a plain message instead, because approval would fail later: reject the request or withdraw the member, then send a new one. A request you sent back for changes can now be rejected from the household page (before, it could only wait). The family gets the same "not approved" message, with your reason, as for any other rejection; pressing Reject twice is safe and sends nothing extra. Needs SQL unit member-request-dead-ends-02.
  • Member requests: approving a change for a member who has since left or been paused now says "This member has left or is paused, so this change can't go ahead. Withdraw them from the request instead." (a clear conflict), instead of "This request is no longer available". Other changed requests say "This request changed after the family answered. Refresh the page to see where it is now."
  • Member requests: when an accepted change goes back to review on its start date, the review card and the household page now say why, in plain words, and which family member caused it. A brother or sister held back with them is told their own choice is fine and can be approved again. Needs SQL unit member-request-bounce-cause-03 (after the push units).
  • Member requests: renaming a plan or a class no longer sends accepted changes back to review. A change to a price, plan, day, time or dates still does. Needs SQL unit member-request-rename-tolerance-04 (after the push units). Existing accepted changes keep their saved details and apply exactly as before.
  • Portal (families): "Previous decisions" now also lists requests the club withdrew, with "Withdrawn by the club." and either the club's reason or "<name> has left / is paused, so this change will not happen." New wording is in English; the translations are drafts for review like the rest of the portal.
  • Portal (families): paging through "Previous decisions" no longer skips decisions made at the same moment (for example two children withdrawn together).
  • Deployment: four new SQL units, applied with the push, in this order after the push units and before the required-SQL readiness unit: member-request-withdraw-01, member-request-dead-ends-02, member-request-bounce-cause-03, member-request-rename-tolerance-04. Each has a read-only preflight and postflight in supabase/_verify/. The required-SQL contract and readiness probe were regenerated, so the production build waits for all four (units 03 and 04 need the push chain, so none of this can go live before the push). The member-request events job (every five minutes) now also finishes automatic withdrawals that could not complete at the moment of a status change. Runbook: docs/ops/member-request-fixes-2026-09-28.md. Local work only; nothing applied, deployed, sent or switched on.
  • Family portal: "Update my details". On the Actions page (and from Payments, "Ask the club for a change"), a family can now open the same details form the club sends (phone, home address, and current children's emergency contact and medical information) at any time. Nothing changes straight away: the club checks the changes in Member Requests first ("Family request: update details"), and the family is told the answer through the club's usual member request messages. A family can have one of these requests waiting at a time; while it waits, the page says so instead of showing a second form. A family with no address is asked to add one, because bills need it. A family whose members are all paused can use it too, because their portal still has bills and payments. Staff viewing the portal as a family cannot send it. Needs portal-family-details-01 followed by portal-family-details-02 and portal-member-details-privacy-03 (with their checks before and after); until it is applied the button stays hidden.
  • Family details review: medical and emergency fields are limited to current children under 18, including paused children. Adult and former-member details stay private. Staff portal previews cannot open sensitive details forms. Staff see which family login sent the request; address-only changes need contact-edit permission, while medical changes need profile and medical access. These requests are reviewed individually, rather than through “Approve all ready”, and no longer create campaign entries. An expired request can be replaced without trapping the family. Staff-sent details forms also limit medical information to current children and the signed-in adult’s own record. Apply portal-family-details-02 after 01, then portal-member-details-privacy-03, before the release readiness check; monthly change requests remain a separate, unfinished feature.
  • Needs SQL unit enrollment-fee-promotions-01 (step 17c, after invoice-issuance-contract-02 and enrollment-stripe-checkout-01, and before readiness). It also gives the frozen enrolment quote one narrow new exception: a quote refreshed at the full price after its promotion ended or filled, before any payment. Until the unit is applied no promotion is shown or applied, and a code is refused in plain words. Local work only; deployment remains pending.
  • A joining-fee offer ending while a card payment is being set up can no longer attach an old-price payment to the refreshed quote. Checkout checks both the quote and payment attempt before returning its payment details. Apply the updated, unapplied enrollment-fee-promotions-01 unit before this code; it adds the generation-bound checkout stamp and preserves original-quote compatibility for older code.

Member profiles and Comms Flows fixed; rank-change safety, the Cover companion SQL and Xero payments review fixes

27-09-2026
  • Grading: promoting, demoting or undoing on the Grading page now saves only if the member is still on the grade your page shows. If another staff member, or an older open tab, changed it first, nothing is saved: you see "This member's grade changed since you opened this page. Reload to see it." (in your club's own words for members and grades, as set in Settings → Terminology) and the member's current grade is reloaded. This needs the new SQL unit set-member-stage-compare-and-set-01 (step 17b, before readiness); until it is applied the previous writer is used behind a read-only grade check. Local work only; deployment remains pending.
  • Cover coach: prepared an independent SQL companion, pending-club-tables-cover-boundary-01, for 28 pending database units that are not in this release. Together they create 42 club tables without the Cover coach boundary, so applying any of them later would switch Cover coach assignment off. Run the companion straight after any of those units (owner runbook I2); it only adds the standard boundary and changes no access. No application change. Local work only.
  • Deployment: the production build's required-SQL database check now runs once per build instead of twice (Next loads the build configuration in its main thread and again in the Turbopack worker, which now reuses the main thread's pass). A missing SQL unit still stops the build, and the emergency override is still checked and reported. No setting changes.
  • Owner SQL runbook (25 September handoff): the read-only public-access and unused-invitation census (step 17) now runs after the pause saga and rank-change units (17a, 17b), so it sees every unit's grants; the combined list is renumbered with readiness still last before deployment. The note on membership return offers now says that unanswered offers expire automatically after their reply-by date once return-offers06 and the updated worker are in place. No SQL or application change.
  • Documentation: removed local machine paths (home folders and temporary directories) from 70 committed reports and runbooks, replacing them with repository-relative paths or neutral placeholders such as &lt;scratch&gt;/…. A new check stops new machine paths being committed under docs/. No behaviour change.
  • Grading: when a promotion, demotion or undo cannot be saved, staff now see "The change could not be confirmed; refresh before retrying." instead of a database message (the detail is logged for us). If an undo puts the grade back but cannot remove that change's history entry, the page now says so, stops offering the undo and reloads the member, instead of reporting success.
  • Grading: a manual promotion or demotion no longer sets the member's last-graded date before its history entry is saved. The history entry now applies the date and keeps the previous one, so a failed save no longer clears the date. An undo can also restore the previous date from the history entry.
  • Grading: Undo on the Grading page now reverses only that exact change. The server reads the change's own history entry (this member's latest manual change, never a grading-event award) and takes the grades, programme and previous last-graded date from it, never from the browser. The undo then reverts the grade and removes that entry in one step. A change that no longer exists or is not undoable gets one "This change can no longer be undone." message, and nothing is changed. This is part of SQL unit set-member-stage-compare-and-set-01 (step 17b, before readiness).
  • Grading: if the grading page cannot read the member, programme or grade while checking a promotion, demotion or undo, staff now see "Service temporarily unavailable. Please try again." and nothing is changed. Previously this read as "not found" or "not allowed". Unknown or malformed IDs still get the same not-found answer. If the change is saved but its activity-feed entry is not, the change still succeeds and we are alerted about the missing entry.
  • Deployment: the production build now passes the database check result from its main thread to the Turbopack worker as in-process data, not as an environment variable. Setting an environment variable can no longer make the worker skip the check. The check still runs once per build and still stops a build when SQL is missing. No setting changes.
  • Grading: an undo whose change reference is not a valid ID is now refused straight away with "Reload the page and try again.", before anything is read. An unexpected error from the undo is now reported and shown as "could not be confirmed", never as "This change can no longer be undone." Manual promotions and demotions are now time-stamped by the database clock, the same clock the undo uses to find a member's latest change.
  • Owner SQL step 17b (rank-change compare-and-set01): the unit now refuses to apply, and its preflight fails, unless the grading-history anchor trigger from lessons-since-promotion-program-aware-01 is installed. Production has it. Without it an undo could not restore the last-graded date. An undo whose history entry cannot be removed now changes nothing and reports an error instead of reverting the grade alone. The unit's notes now say that the grade check is the undo's main guard and record a lock-order conflict with the anchor trigger. That conflict was already there; at worst it aborts one of two simultaneous changes and never leaves a partial write. No new owner step.
  • Security (owner SQL, staff access units 1–3): corrected so they apply on the live database. On 27 September unit 1 stopped itself with "SERVICE_ROLE_MISSING: class_credit_ledger" and changed nothing: its final check expected the server to be able to change every table, but since 16 July the class-credit ledger only takes new rows and attendance and class usage are written only through the attendance database functions. Each unit now checks that the server's own access is exactly the same before and after, and still undoes itself if anything is unexpected. The check files show one "expected, not a problem" information row for each of those three tables and fail if the server could change them. The corrected copies replace the ones in the owner's Downloads folder; the steps are unchanged. No application change. Owner-applied SQL, pending.
  • Security (owner SQL, staff access units 1–3): now live. The owner applied the corrected units 1, 2 and 3 on the live database on 27 September, and every check-after row passed. Staff accounts can no longer change these tables straight from the browser; staff screens and the server work as before. The records now show the three units as applied. The owner confirmed on 28 September that the urgent staff-accounts unit, with its check, is done. Smoke test: a member note saved and survived; a grading note was not tested (there is no live grading event to edit), so that check is still to do when a grading event is next live. No application change.
  • Owner SQL runbook (25 September handoff): a new first section, "The one ordered SQL list for the release", puts every database step for the one-push release in one numbered order, in plain words: what is already done in production, the security steps before the release, the release units with their check before, unit and check after, readiness last, then the deploy and the steps straight after it. Steps from branches that have not joined the release branch yet are marked as such. Draft; no SQL or application change.

Member portal

  • Progress: belt journey lines now match the layout on phones and tablets. There the ranks sit side by side, so a short line now joins each rank to the next, instead of a line hanging under each dot. It works right to left too, and the row still scrolls sideways when it is wide. On larger screens the stacked list keeps its vertical line. Local work only; deployment remains pending.

Xero payments (dark — not yet available)

Fixes from the independent review of the Xero payments work. Nothing is switched on, and nothing reaches Xero, GoCardless or Stripe from this work. Progress and owner questions: docs/ops/xero-payments-progress.md.

  • The payment and refund records no longer depend on the club's own record, so a payment is never delayed or left unrecorded because something else (a trial booking or a settings save) is updating the club at the same moment. Recording still never stops a payment; it waits at most a tenth of a second for its own records, then skips with a warning, and the next payment or the sync catches up. The payment record is now only touched when an invoice becomes paid or stops being paid.
  • GoCardless payouts in Xero: a payment that is paid out, charged back, reinstated and paid out again now needs its second payment in Xero before the payout is posted (and a second chargeback needs the second payment removed). Before, the first payment, since removed, was wrongly counted again.
  • GoCardless payouts in Xero: payouts are now read oldest first, so a busy period can no longer leave older payouts unread for good. A payout whose details Allsorted cannot read is listed for a person to post by hand instead of holding up the others.
  • Payments in Xero: an invoice that was refunded (in full or in part) is now handled like a paid one. If Allsorted has no full record of the refund, the invoice waits for a person instead of reaching Xero as unpaid. The nightly check now also compares refunded invoices.
  • Xero connection: if Xero refuses Allsorted's payments, credit notes or payout bank transfers (for example because of the connecting user's Xero permissions), invoices keep going. The payments wait and the Xero payment settings ask the owner to reconnect Xero. Before, the whole connection was marked as broken.
  • Payments in Xero: sending payments now starts on a day, today by default when the owner turns it on. Payments recorded before that day are not sent (they may already be in Xero); each such invoice is listed for a person. Choosing an earlier day asks the owner to confirm, saying how many older paid invoices would be sent and from when.
  • Issuing membership invoices when they are collected: the invoice now gets its number only once its payment is actually being requested, not when it is first set aside for collection. If it cannot be issued (for example a missing postal address), the payment is still requested; the Xero sync page lists the invoice so staff can fix the address and issue it, and it goes to Xero once it has its number. The setting now appears only once payments are sent to Xero, and it lists the club details and families that would stop an invoice being issued.
  • Payments in Xero: an invoice Allsorted shows unpaid while its payment record still holds a payment, and a card refund that failed at Stripe after it was sent to Xero, are now listed for a person instead of being left as they are. With sending payments turned off, invoices Allsorted had already settled in Xero are no longer flagged as paid twice.
  • GoCardless payouts in Xero: fees GoCardless returns in a payout now appear as their own line in the fee entry instead of being spread across the fees charged; a payout of nothing or less is listed for a person; and very large payouts are always read in full.
  • Invoices going to Xero: the Xero queue no longer depends on the club's own record, so taking a payment or changing an invoice is never delayed (or stopped) because something else, such as a trial booking or a settings save, is updating the club at the same moment. If the queue is busy for more than a tenth of a second, the change is noted and picked up by the next Xero sync instead of holding up the payment.
  • Membership payment options (Settings): saving them can no longer undo another billing setting saved at the same moment, such as issuing invoices when they are collected. If the settings keep changing while saving, the page says so and asks you to try again.
  • Xero nightly check: with sending payments turned off after it had been on, an invoice paid in Allsorted and settled in Xero only by the payments Allsorted itself sent is no longer reported as a difference. Any other payment in Xero, a part-paid copy, or an invoice Allsorted shows unpaid or refunded is still reported.
  • Issuing membership invoices when they are collected: when an invoice cannot be issued, the family is no longer told "Payment needs review" or shown no card option. Before, a family whose Direct Debit then failed was told not to pay again, and one whose Direct Debit succeeded kept seeing "Payment needs review". The invoice's number is a separate matter from its payment. The Xero sync status page now lists these invoices under "Not issued when collected", with the family, the amount and what to fix. Issuing an invoice from the family's page clears it from the list.
  • GoCardless payouts in Xero: Allsorted now posts payouts only from the day it takes over posting them (the new "Post payouts created on or after" setting, today by default). Payouts GoCardless created before that day are left alone, because GoCardless for Xero already posted them; before, the first run would have posted them all again. Choosing an earlier day asks for confirmation, showing how many payouts it would post and from when.
  • GoCardless payouts in Xero: if an earlier payout's items could not be read, a later payout holding a payment that was charged back and collected again is now listed for a person to post by hand. Before, it could be posted without the payment that makes it balance. Payouts holding ordinary payments are unaffected.
  • Payments in Xero: turning on sending payments (or choosing an earlier start day) now queues the paid invoices from that day even when many older paid invoices are waiting too. Before, 500 older ones could stop any of them being queued.
  • Issuing membership invoices when they are collected now only happens while Xero is switched on for the club. With Xero off, collection works as if the setting were off, and the owner can still turn the setting off.
  • GoCardless payouts in Xero: the Payouts tab now says when payouts were last read and how many were new. If Allsorted is stuck on one payout it names the payout, since when and why. If the same payout still cannot be read a day later, it is listed for a person and the newer payouts carry on. Before, one payout could silently hold up every payout after it.
  • Xero connection: if Xero keeps refusing Allsorted's payments or payout transfers, the "Reconnect Xero" prompt no longer disappears after about two and a half days. Reconnecting now sends the waiting payments and payouts again.

Member profiles and Comms Flows

  • Member profiles: every member's profile loads again. A change on 25 September (not yet live) asked the database for a club on each member's grade, and grades have no club of their own: every profile showed "Couldn't load profile". A grade now appears in the profile's programme list only when it belongs to one of your club's own grading systems; a programme without a grade still shows. Local work only; deployment remains pending.
  • Comms Flows (a live fault): the flows read each member's membership using column names the membership table does not have, so the database refused the read. No member could be enrolled in a flow, no due step could be sent (each attempt counted as an error), and the Flow simulator failed. Flows now use the member's newest membership (the latest start date) for the plan and billing-status conditions, as intended. Local work only; deployment remains pending.
  • Development checks: a new scanner, guard:embed-columns, fails the release checks when a database read names a column that a linked table does not have, the mistake behind both faults above. Route tests can now answer such a read the way the database does. No behaviour change.
  • Member profiles: a membership's lesson line no longer says "Usage not available" when nothing has been counted yet. It now says "No classes counted yet this week" (or "this month"), because a usage record only starts with the first counted class. "Usage could not load" appears only when reading the usage actually failed. Local work only; deployment remains pending.

Households and the Members list

  • Family plans: restarting or pausing a family plan now leads you to the right place. A member on a paused family plan is restarted from their household, with the plan; the Members list used to say "reactivate individually" while the member's profile said "resume the plan from their household". Both now give the household guidance, with a link such as "Open Ashworth family" (one per family in the Members list results, and a button on the member's profile). The link opens the household with that plan's Resume control scrolled into view, focused and marked "Resume here" for a few seconds; the Direct Debit pause guidance links to the plan's Pause control the same way. A link for a plan that is not on that household's page is ignored. After Resume or Pause, the whole household page updates without reloading: the plan card and its Automated billing panel, the member cards, the header counts and Household costs. Local work only; deployment remains pending.
  • Households: after you pause or resume a plan on a household's page (with or without its members), the Membership plans card now updates straight away: a paused plan shows its "Paused" badge and a Resume button, and a resumed plan shows Pause again. If the change only partly worked, failed or the connection dropped, the card shows what was actually saved, never a guess. Before, it kept its old state until the page was reloaded, so staff could think nothing had happened and try again. Local work only; deployment remains pending.
  • Members list (accessibility): the Filter button is now announced as "Filter members" (with the number of active filters, for example "Filter members (2 active)") and says whether the filter panel is open. In the filter panel, each section's collapse/expand toggle now names its section ("Quick filters", "Billing (2 active)" and so on); the filter panels on Communications and Courses share these toggles and get the same names. Before, the accessibility tools used in testing listed them as an unnamed "button". No change to how filters work.
  • Development checks: the commit-baseline guard's own tests now prove a drifted test-matrix constant or caller index on temporary copies, so an interrupted test run can no longer leave scripts/dx/verify-test-matrix.mjs or the phase-2D caller index rewritten in the working tree. The tests still show the guard blocks the drift and names the fix. No behaviour change.

Grading

  • Grading Day mode: Exit now takes you back to the grading workflow with the same event or session selected. Before, Exit from an event's Day mode opened the event's own page (under Calendar), and Exit from a session's Day mode opened the workflow on whichever session came first. The "Back to grading events" link on the session sheet's loading-error message does the same. Local work only; deployment remains pending.
  • Grading (owner decision): Undo on the Grading page now works only for the person who made the change, and only on the same day (UK time). Anyone else, or the same person on a later day, sees "This grade change can only be undone by the person who made it, on the same day. Make a new change instead." (in your club's own words for grades) and nothing changes; correct the grade with an ordinary promotion or demotion instead. Grades imported from a spreadsheet can never be undone. The page already offered Undo only for 12 seconds after your own change; this also covers a change made just before midnight and any request that did not come from that button. Part of SQL unit set-member-stage-compare-and-set-01 (step 17b, before readiness), which is not applied yet; until it is, the app applies the same rule itself before changing anything. Local work only; deployment remains pending.

Member portal

  • Member portal (owner decision): a family whose members are all paused now keeps a small portal instead of "Access Unavailable". It has three pages: Membership (their membership and any membership requests), Bills (see and pay bills, and keep their payment method up to date) and Messages (with contact preferences), plus notifications and the language picker. Every page says "Your membership is paused until 3 November 2026. You can still see and pay bills and message the club." (without the date when no return is scheduled), in every portal language. Any other page takes them back to Membership, and the server refuses everything else for a paused family. Families with an active or new member, and families whose members have all left, are unchanged; payment changes are still refused in staff preview. This needs the new SQL unit portal-paused-access-01 (step 17e, before readiness); until it is applied the portal behaves as before. Local work only; deployment remains pending.
  • Member portal (owner decision): a family whose members have all left but who still owe money can now sign in to see and pay their bills, instead of "Access Unavailable". The portal shows "Your membership has ended. You can still see and pay what's owed." (in every portal language), their bills with card payment, and their email preferences, with a sign-out and nothing else: no Direct Debit set-up, and the portal does not use an existing mandate. "Owing" means a pending, unpaid or overdue bill with a balance left after any credit notes. Once nothing is owed, for example after they pay the last bill, the portal shows "Access Unavailable" again. Every other page and server route refuses these families. Part of SQL unit portal-paused-access-01 (step 17e). Local work only; deployment remains pending.
  • Development checks: db:rehearse-portal-paused-access (CI pack db-portal-paused-access) rehearses the new session check on a disposable database; the portal language browser pack also runs the paused portal at phone and desktop widths in English and Arabic, and a guard pins the portal routes a paused family can use. The required-SQL contract now includes the unit (87 definitions, 63 RPCs). The same rehearsal, browser pack and guard cover the leaver bills portal, including sign-in and paying the last bill. No behaviour change.

Membership prices

  • Membership plans: you can now change a recurring plan's price, or its family cap, from a date you choose. The default is the start of the next billing period; you can also choose "from today" (only while nothing from today has been billed) or another date, never one inside a period that has already been billed. Before you confirm, a preview lists every affected household, its members on the plan and its amount for a full period from that date, now and after (other memberships, family discounts and caps included). Upcoming changes are listed on the plan with Edit and Cancel. Each bill uses the price in force on the first day of its period: a change part-way through a period applies from the next one, with no part-period charges, and bills already prepared keep their price. Card subscriptions keep the card provider's amount. Nothing is sent to families. Plans without a scheduled change bill exactly as before. This needs the new SQL unit membership-plan-price-schedule-01 (step 17c, before readiness); until it is applied, the plan editor says so and keeps today's immediate price edit. Local work only; deployment remains pending.
  • Membership plans: once a plan's price has been changed from a date, saving the plan with a different price or family cap is refused ("This plan's price is managed under Price changes…"); change it under Price changes instead, from the date it should apply. Other plan changes save as before.
  • Membership prices (review fixes): an applied price change stays on the plan's dated record for 400 days, so a bill prepared late (a retry, a member added with an earlier start date, a restarted plan) uses the price in force on its own start date. For example, if £60 becomes £70 from 15 November, a member added on 20 November with a start date of 10 November pays £60 for that period. Future prices are also no longer readable with the public key: the SQL unit removes the public read of membership plans, which nothing in the app uses (staff reads are unchanged). Local work only; deployment remains pending.
  • Development checks: db:rehearse-membership-plan-price-schedule (CI pack db-membership-plan-price-schedule) rehearses the new unit, its authorities and its races on a disposable database, and the membership browser pack now covers the price-change panel at phone and desktop widths. The required-SQL contract now includes the unit (85 definitions, 62 RPCs). No behaviour change.
  • Family plans (owner decision): a paused member is no longer charged. While a member is paused, the family's price is worked out on the members who are still active: the family discount tiers and the family and household caps count only them, and a member who comes back counts again. The change applies from the next bill prepared after the pause (bills are prepared a few days before each period), with no part-period refunds, and a member who returns is charged again from the next bill prepared. A plan paused as a whole bills nothing while it is paused. The household costs panel shows the paused member as "Paused · not charged" and the portal shows "Paused · no membership charge"; totals, the member-request totals, the price-change preview and the Xero comparison leave them out. No SQL change. Local work only; deployment remains pending.
  • Family plans (review fix): a plan whose members are all paused, while the plan itself is not paused (a member alone on their own plan included), now charges nothing. Each such period is skipped, not deferred, so a member who returns is charged from the next bill only. Household costs and the portal show the plan as paused, with no payment due. Term plans are unchanged. Local work only; deployment remains pending.
  • Membership prices (review fixes): the price-change preview now also says when GoCardless subscriptions on the plan keep their own fixed amount (as it already did for card subscriptions), and it refuses a date that already has a scheduled change ("A change is already scheduled for 1 November 2026. Edit that change instead, or choose another date."). The portal's member-request household totals, the immediate plan upgrade top-up, the household pricing rule preview and billing handover quotes now use each plan's price in force on the date concerned; an upgrade tops up the rest of the period at the prices that period was billed at. One failed read of a plan's dated prices during a billing run no longer stops the run's later households from being billed. Local work only; deployment remains pending.
  • Development checks: the commit-baseline guard's tests no longer follow a commit hook's GIT_DIR, GIT_INDEX_FILE or GIT_WORK_TREE into the real repository when they build their temporary fixtures. No behaviour change.
  • Membership prices (owner decision): families see a scheduled price change in their portal as soon as it is saved, dated from their first bill at the new price rather than the change date. For a family billed on the 1st, a change from 15 October shows "From 1 November", with the amount from the same household quote the bills use. Staff see the same date in Household costs, and the price-change confirm step now says families will see it. Nothing is sent to families. Local work only; deployment remains pending.
  • Membership billing (owner decision): restarting a paused plan no longer bills the periods it missed while paused. Its next bill date moves to the first period start on or after the restart, and the part of the current period from the restart date is billed once, like a new member's first part-period (the club's part-period setting, the same wording and VAT), followed by the normal periods. A restart on a bill date bills that period as usual. Term plans do not catch up instalments that fell due while paused. As a safeguard, the billing run never bills a period that started before the restart: it moves the next bill date on and tells staff. This needs the new SQL unit membership-restart-part-period-01 (step 17d, before readiness). Local work only; deployment remains pending.
  • Membership billing (review fix): in member-choice households, where each period date has one complete household bill, the part-period after a restart is now billed on the next period's bill (its own lines, the same household price) instead of being left for staff. Local work only; deployment remains pending.
  • Development checks: db:rehearse-membership-restart-part-period (CI pack db-membership-restart-part-period) rehearses the restart rule on a disposable database, and the required-SQL contract now includes it (86 definitions, 62 RPCs). No behaviour change.
  • Family plans (owner decision): a plan whose lessons are "Shared by the household" is now one price for the family, however many members it covers. Two children on a £59 shared plan pay £59, not £118. The bill has one line naming them ("Membership — Leo Okafor & Maisie Okafor (2 Lessons per week, 2026-10-01 → 2026-11-01)") at the price in force on the period's start, or the agreed price. Family discount tiers don't apply to a shared plan, the household cap counts it once, pausing one member doesn't lower it, and a part-period (a new plan's first one, or after a restart) is that one price times the fraction. Household costs, the portal, member-request totals, the price-change preview, the Xero comparison and billing handovers show the same price. Each member's billing tab, unpaid count and data export include the family bill once, from the day they joined the plan, and so do the Members list billing filter and the billing-status filters for Communications recipients and scheduled messages. The plan editors now say "One price covers the whole household." and warn when family discount tiers are set on a shared plan; the member profile no longer estimates a family discount for one. Which existing plans are shared is decided from evidence by SQL unit membership-allowance-scope-01 (see the next entry). No new SQL. Local work only; deployment remains pending.
  • Membership allowances (release fix, owner review): the unapplied SQL unit membership-allowance-scope-01 no longer marks every existing plan in Household and Mixed clubs as shared. Production has no scopes yet, so it would have made every live plan shared: with one price per family, two children on Core would have paid £45 instead of £70, and shared one lesson a week. Each existing plan is now decided from evidence. A plan is shared by the household only when a live agreement on it (active or paused) covers two or more current members, and never when it has family prices or a household cap. Every other plan is per member, and in an Individual-payments club every plan is per member as before. The read-only preflight lists every plan with the scope it will get and the evidence ("Shared: 2 Lessons per week, 3 Lessons per week, 4 Lessons per week"; "Per member: Core, Plus, Unlimited, Titans…"), so the owner checks the list instead of fixing plans by hand afterwards. The unit records each decision in the audit log and the postflight lists the same. Per-member plans start new lesson counters, as a scope change does; shared plans keep theirs. Owner runbook step 4 now says to check the list; configuration01a is only for changes the review asks for. Local work only; deployment remains pending.
  • Development checks: db:rehearse-membership-allowance-scope now also runs a production-mirror rehearsal. It creates the owner's 15 plans with no scope, as production has, applies the unit and checks each scope, the lists, the audit record and re-applying. It also prices a 2-child Core family at £70 and a 2-child "2 Lessons per week" family at £59 on the installed plans. A guard checks that the unit and its preflight use the same rule. No behaviour change.
  • Membership allowances (review fix, owner choices): the owner now settles the final list of shared plans before SQL unit membership-allowance-scope-01 runs. Its read-only preflight still proposes each plan's scope from how it is used, and a family recorded the old way (two or more members on a plan with no agreement) now also counts as sharing. A plain "YOUR CHOICES" block at the top of the preflight and the unit moves any plan to the other side by name ("Creative Ways Taekwondo / Friends and family"; capital letters don't matter). The preflight shows the final list, each choice next to the proposal, and a short check code. The unit needs that code: it works the list out again and refuses, changing nothing, if the code is missing, if the list has changed since the preflight, or if a choice names a plan it can't find, names a plan in both lists, or shares a plan that can't be shared. The audit log and the postflight record each choice. Local work only; deployment remains pending.
  • Development checks: the production-mirror rehearsal now uses the owner's 15 live plans by name and setting. It proves the owner's choices (sharing Friends and family and Titans membership, and making 3 Lessons per week per member, so two children pay £178), the refusals (no code, a wrong code, an unknown name, a plan in both lists) and old-way families. No behaviour change.
  • Membership plans (owner decision): once families are on a plan, "Who can use these lessons?" can't be changed, because a shared plan costs one price for the family and a change would change what every family on it pays. The plan editor shows the choice greyed out with: "Families are on this plan, so this can't be changed. Their price depends on it. To offer the other kind, make a new plan and move families across." Saving a change is refused with the same words, and the database refuses it too. A plan has families while it has an active or paused agreement or a current member; a plan with none can still switch, and other edits save as before. This needs the updated SQL unit membership-allowance-scope-01 (unapplied; it still sets each existing plan's first scope). Local work only; deployment remains pending.
  • Membership billing (review fix): billing periods that fell behind are no longer skipped. The safeguard that skipped periods more than one period old now applies only to a plan restarted after a pause, and only to periods that started before the restart. Every other late period (a missed billing run, a member's choice waiting to apply, or a past bill date set by staff) is billed as before, but its bill is held: nothing is collected until staff check it on the household page, and the family is charged only once staff confirm it. Local work only; deployment remains pending.
  • Membership billing (review fix, important): AllSorted never bills time before a member's first bill date just because their start date is older. Only a member who started in the one billing period before their first bill gets a part-period bill automatically. Anything older (for example a start date in 2018) is shown to staff on the household page with what it would cost, to bill as a one-off or dismiss. Turning billing on for an existing member in the billing set-up now records that AllSorted billing starts on the first bill date, so time before it (paid another way) is never billed. The set-up also refuses a next bill date more than one billing period ago, and asks staff to confirm one in the last period. Needs the updated SQL unit membership-restart-part-period-01 (unapplied; it adds the billing start date). Local work only; deployment remains pending.
  • Member portal (review fix): the bills-only portal for families whose members have all left now opens only when a bill can be paid there (pending or unpaid, as the Bills page and the card payment link accept). Older bills stored as "overdue" or "open" no longer open a portal where nothing could be paid. Updated SQL unit portal-paused-access-01 (unapplied). Local work only; deployment remains pending.
  • Member data export (review fix, privacy): a member's export includes the family lines of their own agreements only. A household bill can carry several agreements, so a brother's or sister's family line, family discount or price cap from another agreement on the same bill is no longer included. Local work only; deployment remains pending.
  • Member portal (review fix): a price change now shows "From" the bill that actually carries the new price, even when that bill was prepared a few days early, and a paused plan shows the date of the change. Local work only; deployment remains pending.
  • Membership billing (review fix): when a plan restarts part-way through a period and a scheduled plan change applies at the next bill date, the part-period is billed at the plan it was on during that time, and the new plan from the bill date. A member whose earlier bill already covers that time is not billed a part-period again. Local work only; deployment remains pending.
  • Members list (review fix, speed): the billing filter now reads only the bills that have a family line and the agreements on them, instead of the club's whole billing history on every load. The filter shows the same results. Local work only; deployment remains pending.
  • Development checks: the route registry now notes, for each portal route, whether it admits a paused family or a family that has left but still owes money, generated from the routes by scripts/security/sync-portal-access-registry-notes.mjs and checked by the paused-portal guard. No behaviour change.
  • Membership allowances (review fix): SQL unit membership-allowance-scope-01 now locks the plans while it works out the list, so a plan saved in Settings at that moment can't slip in without a decision: the unit stops, changes nothing, and you run it again. It makes shared only the plans the list you checked says are shared (a plan with no club is per member), and its postflight now fails for any plan the unit has no record of. YOUR CHOICES can also name a plan by its id from the preflight's new plan_ref column, so two clubs, or two plans, with the same name can be told apart; names containing " / " now work, and a line that fits more than one plan is refused. Local work only; deployment remains pending.
  • Membership plans (review fix): while "Who can use these lessons?" can still be changed, the plan editor now says "You can change this until a family joins the plan. After that it's fixed, because the family's price depends on it." (Household-payment clubs start new plans as shared.) Switching to Individual payments while a shared plan with a lesson limit is still offered now says what to do: make a new plan set to Each member, move the families to it, then end the old plan. The old message asked for a change the families lock refuses. Part of the updated SQL unit membership-allowance-scope-01 (unapplied). Local work only; deployment remains pending.
  • Owner SQL runbook: rebuild the owner-test copy from this branch before signing off payments on it. It has an earlier membership-allowance-scope-01, so the current unit stops there with MEMBERSHIP_ALLOWANCE_SOURCE_DRIFT and changes nothing. No SQL or application change.
  • Membership billing (review fix): when a plan restarts part-way through a period and changes at the next bill date to a plan that bills weekly instead of monthly (or the other way round), the part-period is worked out on the old plan's cycle and the new period on the new plan's. For example, a monthly plan restarted on 20 September that becomes weekly on 1 October bills 11/30 of the monthly price, then 1 to 8 October at the weekly price. When the period starts that day both go on the same bill; before, the week could get stuck behind a bill already being collected. The part-period is now never billed twice, including in member-choice households whose plan later moves to a longer cycle. If a member-choice household's plan changes to a term plan, staff see the part-period and its amount on the household page to bill or leave. No SQL change. Local work only; deployment remains pending.
  • Member data export (review fix, privacy): a member's own family line on a bill from before their family's plan changed is now included. The export checks the plan the agreement had when that bill was priced (from the bill's pricing record), not the plan it has today, so a brother's or sister's line on the same bill is still left out. Older bills without a pricing record use today's plans, as before. Local work only; deployment remains pending.
  • Membership billing (review fix): term plans now follow the same rules as monthly and weekly plans. An instalment due before AllSorted billing started for a family (the date set in the billing set-up) is never billed, because it was paid another way. Before, a family opted in on 20 October to a 1 September to 20 December term was billed its September and October instalments at once. An instalment billed more than one instalment late is held until staff confirm it on the household page, like a late monthly bill. The billing run also no longer lets 100 held bills stop it collecting a club's other bills. No SQL change. Local work only; deployment remains pending.
  • Membership billing (review fix): moving an agreement's first bill date in the billing set-up, before anything has been billed, now moves where AllSorted billing starts too. Before, a family opted in for 1 October and moved to 1 November before any bill was billed October as a part-period with its first bill. Once a bill exists, changing the date leaves the billing start alone. New owner SQL (after step 17d): a read-only billing start census that lists agreements with a next bill date, no billing start and no bill yet, saying what the first billing run would do with the time before the first bill date, and membership-billing-start-backfill-01, which gives those agreements a billing start on their next bill date (safe to re-run; it does nothing when there is nothing to do, as in production on 27 September). Local work only; deployment remains pending.
  • Membership billing (review fixes): late bills held for a staff check are now clearer and safer. In the Action Centre each item says what is held and how much, in the club's currency, for example "Late bill held: £45.00 is collected only when you confirm it" (the bill's total, VAT included) or "Earlier time held back: £4,647.86 is billed only if you choose to". Confirming a late bill now needs the "Adjust invoice" permission too, as releasing a held Video Review bill does. A late bill's check closes itself when its bill is voided, paid or credited to nothing. Staff "Collect by Direct Debit" refuses a held bill until it is confirmed on the household page. Families can still pay a held bill in the portal, which now says "The club is checking this bill. You can still pay it now." (every portal language, AI drafts for review). A one-off bill for unbilled time is made in the club's currency. No SQL change. Local work only; deployment remains pending.
  • Membership allowances (review fix): the postflight for SQL unit membership-allowance-scope-01 can now be run again at any time. The unit records, for each club, the plans it had when the unit ran, and the postflight checks exactly those: a plan added in Settings afterwards is shown as "added after the unit" and passes, while a plan the club had but the unit has no record of still fails. Updated unapplied unit. Local work only; deployment remains pending.
  • Membership billing (review follow-ups): the owner's billing start census and backfill now look only at live (active or paused) agreements, and the backfill leaves out a family that started within one billing period of its first bill date, so a new family keeps its part-period (the census says which way each agreement goes). A late £0 bill now closes its own check, as a voided, paid or fully credited one does, and the billing run closes such checks every day even for clubs it no longer bills (for example when every agreement has ended). The amount shown for a held late bill is what is still owed after any credit notes, and stays up to date after a later credit. Local work only; deployment remains pending.
  • Membership billing (hardening): the billing run's daily pass that closes settled late-bill checks now has a time budget. It never starts another club with less than 30 seconds left of the run's time limit, nor more than 200 clubs a run, so it can't hold up the run after the money work; clubs it leaves are done on the next run. No behaviour change otherwise. Local work only; deployment remains pending.

Member Requests

  • Member Requests: each count on a request (Sent, Not replied, Review, Completed, Rejected, Cancelled and Overdue) now opens that request's list of members, filtered to what the count shows. "View outstanding" opens the same list on Not replied. The count that was labelled "Awaiting" is now labelled "Not replied".
  • The list switches between Not replied, Replied and All, or one status (Overdue, Awaiting review, Completed, Rejected or Cancelled), and you can search it by name. Replied means the family has answered, whether the answer is awaiting review, completed or rejected; cancelled requests count as neither. Each row shows the member (or the whole household), what was asked, the status, the reply-by date and, once they have answered, when they replied.
  • "Message 9 families" (with the number in the list) opens Communications with those families already selected: the member each request is about, or the household's current members for a household details check. You choose the channel, template and wording there as usual, and Communications applies contact choices and sends one email per family. The button appears only when Communications would let you send that message: messaging more than one member at once needs the “Send bulk message” permission, and the list says so to staff who have only “Send message”. No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Messaging a large selection: every hand-off to Communications now works for thousands of members. That covers the Members list "Email" button, a household's "Message", a grading session's "Message session" and Member Requests "Message N families". Up to 100 members still use the same link as before, which also opens in a new tab or from a bookmark. A larger selection is kept in the current browser tab for up to two hours, so the link stays short. Because it works only in that tab, a larger selection's Message control is a button, not a link: a Ctrl/Cmd-click hands over in the same tab, and a middle-click no longer opens a new tab without the selection. It holds only member ids, no names or contact details, and is cleared when you sign out or switch club. If a large selection is opened in another tab, after two hours or in another club, Communications says: "We couldn't bring over the members you selected. Go back and choose Message again in the same tab, or select members here." Communications still selects only your club's members.
  • Communications: when a message is queued, the check that every recipient belongs to your club now reads them in batches of 100. Before, a large selection could be refused with "One or more recipients are not in this club." because the check read every member in one request (the database returns at most 1,000 rows per read, and very long requests are refused). The whole send is still refused if any recipient is in another club or the check cannot be completed. A message to more than 20,000 people at once (the most Communications hands over) is refused before anything is read: "A message can go to at most 20,000 people at once. Send it in smaller groups." No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Communications: members handed over from another page are now selected once, when the full member list has loaded. Choosing a different message category, or the list reloading, no longer puts back members you had removed from the selection. If some of the people handed over are not in your club's list, Communications now says how many were left out, for example "2 selected people aren't in this club's list and were left out." No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Member Requests: removed the old outstanding-actions read (GET /api/member-requests?batch_id=). Nothing has used it since the Member replies list replaced the old outstanding list. An old page still asking for it now gets the ordinary request list and no member details. No behaviour change on current pages.
  • Communications: a message to members you picked now goes to the server as one copy of the message and a list of those members, not a finished copy for every member. That makes a message to 5,000 members about 200 KB instead of about 6 MB, so big sends are no longer turned away for being too large. Each member's copy is written when the message goes out, with the same words the preview shows you, and their email address, phone number and email choices are checked again at that moment. Emails go out first, a batch at a time. If a big send has to pause, its emails carry on at the next run and nobody gets the same email twice. Texts and Telegram messages go out after all the emails, starting near the beginning of a run. Each one is written down as it goes (a text in the member's SMS record, a Telegram message in their history), so a send that pauses carries on at the next run and skips everyone who already has one, with or without delivery protection (two server settings, off today). If AllSorted can't read those records, it sends nothing more and asks staff to check the send. If a Telegram message goes out but can't be written down, the send also stops for staff to check, so it is never sent again. Texts go out one every 20 seconds, so a big text send takes several runs. When a send is finished, the sent count covers the whole send. An event invitation's booking links are made when the message goes out. The preview of a queued send now shows the message with the merge tags still in it, because each copy is only written when it is sent. No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Communications: the send check counts the members you picked. A message to one member counts as one person, even when it goes to several family email addresses, so staff who can send messages but not bulk messages can send it. More than one member needs the bulk message permission, and the limit is 20,000. A page opened before this update sends a finished message for each address, so it is counted by address: more than one address needs the bulk message permission. (Counting those by member let one member's name carry thousands of addresses.) The Member replies button follows the same rule. No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Communications: the checks made before a message goes out (bounced email addresses, each contact's email choices and each member's text message choice) now read at most 100 at a time. Before, they read 500 at a time. That makes a request about 15,000 characters long, and the database gateway turns away requests over about 8,000 characters, so a big send could stop before sending anything, and Communications could fail to load in a club with many email addresses. Every address is still checked, and a check that cannot be read still stops the send. No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Communications: a Telegram message from a scheduled send now appears in each member's history (the member's Timeline and Reports → Comms Activity), with the exact words that member was sent. Before, a Telegram message was kept only on the queued send, and a send to chosen members now keeps just one copy of the message there. Each email already keeps that member's own copy in their Timeline, and each text message stays in the member's SMS conversation. A Telegram message that could not be delivered is not added to the history; it still counts as failed on the send's own page. A member's Telegram message is added once, even if the send runs again. No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Owner runbook: before rolling the app back, check for sends saved as member lists and cancel them first. An older app cannot read those lists and would mark such a send as done without sending it. Straight after rolling back, ask staff to reload Communications (a page opened before the rollback makes the older app save a send with nobody on it) and look for such sends. The owner SQL runbook has both read-only queries and the steps. No SQL or application change.
  • Communications: invitations to more than about 200 chosen members now go out. Their booking links are now made and read 100 members at a time. Before, one request for every member was turned away, and the invitation stopped after five tries with a message that did not say why. Checks of used invitations and of insurance details now also read 100 members at a time. No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Communications: an invitation is not sent when its event has been cancelled or is still a draft. The send fails and says "This event has been cancelled, so the invitation was not sent." or "This event is still a draft, so the invitation was not sent. Publish it, then send the invitation again." If the event is cancelled part-way through a send, it says how many people had already been sent the invitation (someone sent it by email and by text counts once), and its sent count shows how many messages went out. No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Communications: in a send to chosen members, each family email address gets the family email once, even if the member it was addressed through leaves before a paused send carries on. No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Communications: a text from a saved-filter send is now recorded against that send. Its page lists the text, and a send that pauses skips everyone it already texted. Before, such a send could text some members twice after a pause. Without delivery protection, a send's page now also lists its Telegram recipients, from each member's history. No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Communications: each queued message row may now hold only one email address and one mobile number, and a row holding a list of addresses is never sent. Before, one row could carry a list that reached every address in it. An address written with a name, such as "Sam Smith <sam@example.com>", goes to the address in the angle brackets, and a mobile number may be written with spaces or brackets, such as "(07700) 900123". The same rule covers the email addresses stored for members, households and household contacts: one that holds a list (with a comma or a semicolon) is not emailed, and the send counts it as failed. Before release, the owner runs a read-only check that counts these for each club, without showing any address, so they can be tidied first. A test email to more than one address now needs the bulk message permission, and it can go to at most 50 addresses. The test email box now says it takes one email address. No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Events: inviting more than about 200 members at once works again. The members are now checked 100 at a time. No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Communications: a send to chosen members now says who it could not reach: members no longer in the club, members who had already used their invitation, and members with no email, mobile or Telegram left. Anyone an earlier part of the same send already reached is not counted (a text that failed or an email that was held back does not count as reaching them). Members who have left the club get no text or Telegram message, as with a saved-filter send. If a member's message comes out empty once it is filled in (for example a text that is only their first name, which is blank), they are not sent the unfilled message; it counts as failed. No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Communications: a text the text gateway turns down (for example a wrong number) is now tried once in a send, not again at every run, and counts as failed. If the gateway turns down every text in a send, the send is marked failed. Before, with delivery protection off (as today), a send with some wrong numbers tried them again at every run, 20 seconds apart, so each run reached fewer new members and a big send might never finish. A text the gateway took still counts as sent and is not sent again. A text stopped before it reached the gateway (for example because the member's text choice could not be checked) is still tried at the next run. If the gateway can't be reached at all (its address isn't found, or it refuses the connection), nothing is sent: the send stops texting for that run and tries again after 1 minute, 5 minutes, 30 minutes, 3 hours and 1 day, and is marked failed if the gateway still can't be reached, saying how many texts were not sent and why. Those tries start again from the first once a run gets messages through, so separate short outages during a long send don't add up to a failure. Telegram messages in the same send still go out. The same rule applies with delivery protection on. Sends queued before 21 June 2026, whose rows did not have to name a member, now also skip a number already texted. No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Owner SQL, step 17h (new unit audit-redact-scheduled-send-recipients-01): the audit log no longer copies a scheduled send's whole recipient list, or its email, text and Telegram message, every time the send is updated. A send is updated at least twice every run, and a large text send runs every minute, so a 5,000-member text send would have added a few hundred MB to the database. The audit log now keeps a small note of their size instead, and still records when one changed. Staff see that note in Settings → Audit instead of the list or the message. The unit also keeps the earlier audit units' protections (attachments, and members' medical, emergency-contact, custom-field and signature details). Where the earlier step for members' details is not in place yet, this step starts it too, as the owner approved on 28 September: the audit log leaves out what those details say, but still records which of them changed, when and by whom. It must be applied before the readiness step; sending works the same whether or not it is applied. Local work only; not applied anywhere.
  • Communications: a run that sends no new emails now starts the texts and Telegram messages straight away. Before, if less than two and a half minutes of the run were left, it waited for the next run. A very large send can take that long just checking the emails it has already sent, so its texts might never have started. A run that does send emails still leaves texts for the next run in that case, so they start near the beginning of a run. No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Communications: an email address stored with a name, such as "Sam Smith <sam@example.com>", is now checked against bounced addresses and email choices as sam@example.com. Before, a send to chosen members could email such an address after it had bounced, or after its owner had chosen not to get marketing emails. A family whose addresses differ only by a name or capital letters now gets one email, and tidying a stored address part-way through a send doesn't send it again. The Communications page shows each address as it will be used, in lower case. No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Communications: an email address stored with a name in quotes and brackets, such as "Jane Smith (Mum)" <jane@example.com>, no longer upsets a send. Before emailing, a send checks which emails it has already sent. It now looks such an address up on its own, in a form the database reads exactly. Before, the database could refuse that check, or misread it and miss emails already sent. So a saved-filter send, or a send queued before this release, could stop and retry until it was marked failed, or email some members twice. Only a saved-filter send queued before this release also looks for emails sent the older way (under the address as it was stored). Sends queued from 1 January 2027 skip that step; if this release goes live after that date, the date must be moved. No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Communications: a Telegram message that an earlier run of a send already sent no longer counts as a message getting through. With delivery protection on, such a message is not sent again, but it still started the send's retries again. So a send whose texts could not reach the text gateway kept retrying and never stopped. Now it stops after its five retries and says the texts were not sent, like any other send. No SQL, setting or flag changes. Local work only; deployment remains pending.

Payments (Stripe)

  • Payments settings: when Stripe still needs something from you, such as your name, date of birth, address or phone number, the Payments tab now says "Stripe needs more details", lists each missing item once in plain words and offers "Resume setup". Before, a Stripe account whose details had been submitted but still had overdue items showed "Awaiting Stripe review … usually takes a few minutes" with no way to carry on, so a club could have waited indefinitely while Stripe waited for them. "Awaiting Stripe review" now appears only when nothing is due. If Stripe gives a reason, it is shown in plain words, and an account Stripe has closed or paused says so and links to the Stripe dashboard. A working account that Stripe will soon need something for lists it, with "Update details in Stripe". No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Payments settings: if Stripe has closed or paused a club's account, the Payments tab now says that first, even when Stripe also lists details it wants, and offers the Stripe dashboard. When Stripe asks the club to do something (for example to choose which payment types to accept) but lists no details, the tab now says Stripe needs more details instead of asking the club to wait. A club that connected its own Stripe account is sent to its Stripe dashboard to add details, because Stripe does not let AllSorted open its setup pages for those accounts. The setup button checks this too, so even a page opened before this change takes that club to its Stripe dashboard instead of showing an error. When Stripe is waiting for AllSorted to ask for card payments on an account AllSorted created, "Resume setup" now asks for them too, so the club no longer comes back to the same message. If that request fails, the Payments tab says card payments could not be asked for (not Pay by Bank). No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Payments (Stripe): changes to a club's Stripe account are written to the audit log again. The database had been refusing these entries, so a club disconnecting AllSorted from its Stripe dashboard left no record of it. If an entry is ever refused again, it is reported to us instead of being dropped quietly. No SQL, setting or flag changes. Local work only; deployment remains pending.
  • Payments (Stripe): AllSorted now keeps a note for the Action Centre (how it shows there is still to come) when Stripe needs more details from a club that already takes payments, or stops its card payments or payouts. The note closes itself once the account works again with nothing due. When Stripe is disconnected, whether in Payments settings or from the club's Stripe dashboard, the note lists the families whose saved card was on that account: their bills can't be paid by card until they pay another way or the same account is connected again, which closes the note. If that note can't be saved, disconnecting in Payments settings changes nothing and asks you to try again. No SQL, setting or flag changes. Local work only; deployment remains pending.

Development safety

  • Development checks: every test that builds a temporary Git repository now starts Git through one shared helper. The helper clears Git's own environment settings (such as GIT_DIR and GIT_WORK_TREE) and works only in the test's temporary folder. Before, a test run from a terminal where those settings pointed at a real checkout changed that checkout's settings instead of the temporary folder's. This happened once on 27 September and was repaired. The scripts that tests start no longer receive those settings either, and a new check fails if a test starts Git any other way. The helper also ignores the developer's own Git settings and refuses any option that could write somewhere else (such as another folder, a clone or the global settings), and the check now also spots Git commands written inside other text, such as a shell line. Setting up the repository's Git hooks when packages are installed now works the same safe way. A package install with no Git, or in a folder that is not a Git repository (such as a Vercel build), prints one line and carries on; in a linked worktree it sets the hooks in the repository's shared settings, which every checkout of that repository uses. The helper also refuses relative paths that leave the test folder and any git config setting other than name, email, colour, branch name and signing. The check now also spots child_process reached through createRequire or vi.importActual, and no longer flags ordinary sentences that mention a git command. It does spot git run through env, sudo, doas, xargs, exec, timeout, nice, stdbuf, busybox, unbuffer, caffeinate and similar wrappers (also by path, such as /usr/bin/env), git quoted after a shell's -c or eval (bash -c 'git init', bash -c -- 'git init', bash -O extglob -c 'git init'), a quoted program name ('git' init), git found with $(command -v git), git after a variable such as GIT_DIR=, and any text that sets one of Git's own settings (any GIT_…= or GIT_CONFIG). It also spots Git's settings handed to a program as environment keys, such as { env: { GIT_DIR: … } }, or set with vi.stubEnv, Object.defineProperty or Reflect.set, except in two reviewed tests that pass them to prove they are ignored. A git command quoted in a sentence, such as "Run 'git add' to stage", or given to another program's -c (grep -c 'git add'), is not counted, and nor are test names and expected values. No behaviour change.

Action Centre — on for every club (switched on after this release)

The Action Centre is one list of things that need a person at your club: a payment that reached your payment provider but isn't on any bill, a refund that didn't go through, a bill on hold waiting for your decision, a family's renewals payment to check, a message that didn't arrive, staff time off that clashes with sessions, something running out such as insurance, and a refund someone asked for. Each item says what's wrong and why it matters, and has a button that takes you to fix it. Items clear themselves once the problem is fixed, and come back if it happens again. It stays off until the owner turns it on after this release (the OWNER_ACTION_CENTRE switch in Vercel); then it is on for every club, including new ones. Local work only; deployment remains pending.

  • Where you see it: your dashboard's "Needs you" list adds its items next to the checks it already shows (nothing the dashboard showed before is taken away), with an "Open the Action Centre" link to the full list. Owners and admins see everything; other staff see the items given to them. Items about money (with amounts) only show to people who can see billing, and can only be given to someone who can see payments; if that person later can't see payments, the item is taken off them. Staff who can't use the Action Centre see a short note saying so. While the Action Centre is off, no one's dashboard says a check is missing.
  • On each item: "Done" when you've sorted it, "Remind me later" to hide it until a day you choose, "Give to someone else" when more than one person can deal with it, and "Not needed" to hide it for good (it only comes back if the same problem happens again). A payment problem can't be hidden for good: it goes away by itself once it's fixed, so it only offers "Remind me later". A change to a family's Direct Debit that only needs checking is different: once you've checked it you can mark it as done (it asks first, and nothing else changes); if it happens again, it shows as a new item. Each of these is recorded in the club's history.
  • Checked every hour (was once a day), so new items appear, and fixed ones go away, within about an hour. Switching it on doesn't fill the list with old news: automations that failed in the last 30 days and staff time off that hasn't ended yet.
  • Words that fit: each payment problem says what it is in plain words, with a button that goes where it gets fixed (and says where it goes). Problems with a payment, a refund, a card dispute, a change to a family's Direct Debit or your payment provider account each get their own words; anything new says "A payment record needs checking". Dates only say "late" for a bill that's past its due date. A dashboard row only shows a money total when every item is the same kind of money.
  • More accurate: overdue bills match the Arrears page (bills marked overdue are included, and a bill paid off by a credit note is not listed); the dashboard's arrears tile now takes credit notes off too, and uses your club's day. Long lists are read in full, and a list of more than 500 items says so ("Showing the newest 500 of …"), with the right counts. If a check can't read what it needs (even a missing table), it stops and says so instead of treating that as "nothing wrong". Amounts use your club's currency.
  • Not included here: bills that couldn't get their number when they were collected are listed separately (with the Xero work).
  • Daily email: an optional email listing what needs doing. It is off for every club and nothing turns it on; only the club owner can turn it on (the gear button, then "Daily email"). It goes to the owner and the admins who can see everything (by Telegram, only to the owner), and money items only go to people who can see billing. Its time zone starts from your device's own, not the UK's.
  • Owner SQL (step 17g, before the readiness step): check before → owner-action-centre-01 → action-brief-01 → action-brief-four-outcome-01 → check after. They were updated for today's database: every new table keeps Cover coach assignment working, the server gets exactly the access the app uses, and nothing switches on. The production build now needs these tables. The check after counts the payment problems that will show, fails if any club still has the daily email on (and gives the line that turns it off), and confirms every table the hourly checks read is there. Before switching the Action Centre on, finish the shared GoCardless account step so payments Xero took don't show as false alarms. The Phase 5 owner runner applies the same units in the same order.
  • Platform admins: Admin Health → Pilot readiness shows the Action Centre as Live, Off or Not migrated, and how many clubs chose the daily email; the hourly actions-sweep shows as failing if any part of a run failed, or if the step 17d tables are missing, and is hidden while the Action Centre is off.

Billing decisions (owner, 27 September)

  • Video Review add-on: when an add-on payment fails, is cancelled or charged back, or its bill is voided or refunded, the add-on's access now pauses straight away. A Direct Debit that is still being collected does not pause it. Access comes back automatically when the family pays (including a successful new collection attempt) or, after a void or refund, when the next monthly payment goes through. A period already paid for is honoured, and the paused time is never billed: no new month is billed while a failed payment is owed, and a billing date that passes during the pause is skipped. Staff see why and since when on the member's billing tab, and the family portal says so plainly (draft translations in all eleven portal languages). Part of SQL unit video-review-addon-departure-07, amended in place and still unapplied (owner runbook item 23). Local work only; deployment remains pending.
  • Billing: a new Held bills page lists household bills that AllSorted will not collect because they carry a Video Review charge for a period after the member left, or that began while they were paused. Staff with billing access who can adjust invoices can now, after checking the bill, release it for collection (it is then collected once, in full, through the normal collection) or credit the Video Review charge (a credit note on an issued bill, or a credit line on an unissued one; the rest of the bill is collected). The decision is saved with their name and the time and shown on the page for 30 days; a repeated click changes nothing, a different decision on the same bill is refused, and demo clubs cannot change anything. A bill still attached to a collection attempt can be released but not credited until that attempt is replaced. The page opens from the "Bill held" Action Centre item and is not a new menu entry; Admin Health now points there too. Part of SQL unit video-review-addon-departure-07 (amended in place, still unapplied). Local work only; deployment remains pending.
  • Audit log (owner decision, 27 September): the monthly job that creates next month's audit-log partitions now runs with the database owner's rights, so it can actually create them. Before, it ran with limited rights and could not, so audit records after April 2027 would have gone into the catch-all partition. The job can still only create that month's two partitions (with row security on and the Cover coach boundary); nothing else can call it. The monthly job also no longer reports a failure for very old months that never existed, so its health check shows red only for a real problem. Part of SQL unit audit-partition-cover-boundary-01 (runbook I1), amended in place and still unapplied. Local work only; deployment remains pending.
  • Held bills (review fix): a held bill whose Direct Debit had failed could never be credited, because the failed payment stayed attached until a retry replaced it and the retry is held until someone decides. Crediting now first checks with GoCardless, in the same way the monthly billing does before a retry, that the failed payment is finished and will not be retried, then detaches it and credits the Video Review charge, so the family is collected for the rest of the bill only. If GoCardless may still retry the payment or cannot be reached, nothing changes and the page says so. A bill that is being collected right now can still only be released.
  • Held bills (review fix): with more than 200 bills on the page (the waiting ones plus those decided recently), every bill lost its details (household, member, amount and the release or credit buttons), because the database answers at most 200 bills per read. The page now reads them in groups of 200 or fewer, and shows its retry message if any group cannot be read. Local work only; deployment remains pending.
  • Held bills (review fix): a held bill that no longer needs a decision (the family paid it, it was credited or voided, or it is no longer held) now moves straight to the resolved list and says why, instead of promising to leave the list and staying there; the next daily billing run closes its item, so it also leaves the Action Centre. If such a bill is held again later, for example after a chargeback, the daily run now opens a new item for it (before, a closed item was never reopened, so the new hold stayed invisible); the earlier item stays in the history. Local work only; deployment remains pending.
  • Video Review add-on (review fix): the member's card now checks live access first. When the current month is paid but a later add-on payment failed, video submissions still work, and the card now says "Active" instead of "Access paused"; its billing line still says a payment needs attention. The failed-payment messages for staff and families, and that billing line, no longer say the paused time is not charged, because the failed payment itself is still owed (the sentence stays for a voided or refunded bill, where nothing is owed). The eleven portal translations were updated to match. Local work only; deployment remains pending.
  • Audit log (review fix): the monthly partition job skipped every partition it could not see, including ones the database had just listed as existing. If the API's view of the database was out of date, old partitions were then neither archived nor reported, and the job still showed healthy. Only partitions whose names it had to guess (because the database could not list them) are skipped now; a listed partition it cannot read is a failure and turns the job's health check red. Each run also records how many guessed partitions it skipped, in its response and in the job's run log. Local work only; deployment remains pending.
  • Video Review add-on (review fix): when staff void a bill to correct it, they can now bill the same Video Review month again from the member's billing tab ("Bill this month again"; needs permission to create invoices). The add-on charge moves, at the same amount, onto a new bill for that month, collected in the normal way; once that bill is paid the add-on's access comes back straight away, instead of waiting for the next monthly payment. Families are no longer told a voided bill's payment was "cancelled or refunded": they read that the bill was withdrawn (or replaced), and that access returns when the new bill is paid. A refund is not affected. Part of SQL unit video-review-addon-departure-07, amended in place and still unapplied (draft translations in all eleven portal languages). Local work only; deployment remains pending.
  • Video Review add-on (review fix): staff can no longer bill a voided month again while the old bill still has a payment linked to it. A write-off keeps that payment, and it might still be taken, so a new bill could have made the family pay twice. Staff now see a plain message and nothing changes; access comes back the usual way, when a later Video Review payment goes through. Part of SQL unit video-review-addon-departure-07 (amended in place, still unapplied). Local work only; deployment remains pending.
  • Video Review add-on (review fix): when a month is billed again and the new bill's Direct Debit fails, the add-on now says the payment failed, with the day it failed, also while the payment is tried again. Before, it went back to saying the month had been billed again. Part of SQL unit video-review-addon-departure-07 (amended in place, still unapplied; one new column). Local work only; deployment remains pending.
  • Held bills (review fix): crediting a held bill now checks first that the credit can go ahead: the bill must be marked unpaid, with nothing being paid right now. Only then does it check with GoCardless and unlink a failed Direct Debit. Before, it could unlink the payment and then still refuse, saying the bill was "being collected right now" when that was not the reason. Each refusal now gives its real reason in plain words, and nothing is changed. Part of SQL unit video-review-addon-departure-07 (amended in place, still unapplied). Local work only; deployment remains pending.
  • Video Review add-on (coordinator decision): staff can now bill a voided month again even when the old bill still has a Direct Debit linked, but only when GoCardless confirms that payment is finished and no money was taken (it was cancelled, the customer did not approve it, or it failed and GoCardless says it will not try again). AllSorted then unlinks that payment, cancels AllSorted's own retry of it, and makes the new bill, all in one step. In every other case (the payment is on its way, was taken, was charged back, is in an unknown state, or GoCardless cannot be reached) staff see the same plain message as before and nothing changes. Part of SQL unit video-review-addon-departure-07 (amended in place, still unapplied). Local work only; deployment remains pending.
  • GoCardless (coordinator decision): if a Direct Debit that AllSorted had unlinked from a bill (after GoCardless said it was finished and no money was taken) is taken anyway, for example because someone pressed retry in the GoCardless dashboard, AllSorted never adds it to any bill, old or new. Instead staff get one clear alert in the Action Centre: "This family may have paid twice for <month>. Check and refund or credit.", which opens the family's page (also listed on Admin Health). The payment keeps being checked, sooner while it is on its way, so a later collection is still caught. Local work only; deployment remains pending.
  • Held bills and "Bill this month again" (wording): every message these added today now uses short, everyday words and says what happened and what to do next, with jargon explained in brackets (for example "credit note (a note that takes the charge off the bill)"). The Held bills page now says "Release for payment" instead of "Release for collection", and its list of finished items is headed "Done in the last 30 days". The Admin Health notes for held bills no longer say a bill with a failed payment can only be released (it can now be credited). No behaviour changes. Local work only; deployment remains pending.
  • GoCardless (follow-up): a Direct Debit that AllSorted had unlinked and that was then taken anyway now shows up as one item only, the "may have paid twice" alert. The nightly payments check no longer adds a second, general "collected but not recorded" item for the same payment, and closes one it added earlier once the clearer alert exists. Local work only; deployment remains pending.
  • Held bills (review fix): when staff credit a held bill whose Direct Debit failed, AllSorted now unlinks that payment and adds the credit in one single step. Before, it unlinked the payment first and then saved the credit, so if the credit failed (for example the credit note could not be made) the payment could be left unlinked with nothing credited. Now, if anything goes wrong, nothing changes at all. Local work only; deployment remains pending.
  • Video Review add-on (review fixes): if GoCardless can't be reached when staff press "Bill this month again", the message now says so ("We couldn't reach GoCardless just now...") instead of warning that the old payment might still go through. If the club isn't connected to GoCardless, the message says that, for this and for crediting a held bill. AllSorted also only unlinks a payment whose own GoCardless details name this club and this bill, and the activity log for "Bill this month again" now records the old bill, the new bill and the payment that was unlinked. Local work only; deployment remains pending.
  • GoCardless (review fixes): if a Direct Debit that AllSorted had unlinked from a bill is sent again (for example after a retry pressed in the GoCardless dashboard), staff now get an alert straight away, before any money is taken: "A payment we unlinked for <month> is about to be taken again. Open the family to stop it." The family page shows it, and staff who can manage GoCardless can press "Stop this payment". After they confirm, AllSorted checks everything again and asks GoCardless to cancel it, while GoCardless still allows that. Nothing is ever stopped automatically; a person decides. If the money is taken anyway, the "may have paid twice" alert still appears, now naming the Video Review month the payment was for, and it closes by itself if the payment is later charged back. Finished payments stop being re-checked 30 days after they were unlinked, and each payment only ever has one staff item. Local work only; deployment remains pending.
  • GoCardless (fix from real sandbox tests): when a Direct Debit fails, is cancelled, isn't approved, or is taken back by the bank (a chargeback, or a late failure after it was paid), the bill no longer says "Direct Debit pending" for ever. The family page now shows "Payment failed:" with the reason in plain words and the date (for example "The bank took this payment back (chargeback) on 28 September 2026."), and staff can collect again, mark it paid, or send the family the card payment link. This works for bills staff raise by hand and for billing-run bills, and the family's pay link no longer tells them not to pay. Each such bill gets one Action Centre item, a billing-run bill is tried again a few days after the failure (not a few days after the payment was requested), and AllSorted never collects a charged-back bill again by itself. If the same payment is retried from the GoCardless dashboard while the bill still waits for it, it simply pays the bill. Needs the new SQL unit gocardless-finished-payment-release-01 before deployment. Local work only; deployment remains pending.
  • GoCardless (payments check, fix from the payments QA): the nightly check that looks again at every Direct Debit no longer re-reads every payment every day for ever, 100 a night. A payment that has finished is now checked daily until 14 days after the day it was taken, then once a week, and after 90 days no more (if GoCardless tells us anything new about it, it is checked again straight away). Each night the check now works through up to 2,000 payments, page by page, several clubs at a time (one club's payments one after another), within 3 minutes, and a payment it can't sort out no longer holds up the ones behind it. So a missed late failure or chargeback shows up within a day or a week, not weeks late. Local work only; deployment remains pending.
  • Staff items for a Direct Debit that didn't go through now say which family to open and the day it will be tried again (none when nothing will be taken again). The next try for a billing-run bill is set to a day, three days after the failure (or the club's own setting), so "we'll try again on 1 October" is the day it really happens. The items now close by themselves once the bill no longer needs paying, whichever way that happens: paid by Direct Debit again (straight away), or paid by card, marked paid, refunded, cancelled or credited in full (checked each morning). Local work only; deployment remains pending.
  • Card payments (fix from the payments QA): after a card was declined, a security check (3D Secure) failed, or the family closed the payment page without paying, the payment link and the family portal said "Payment is being confirmed. Do not pay again" for ever, so the family could never pay the bill. Now the bill shows as due again and the family can press Pay: AllSorted picks up the same card payment where it stopped (so it can never be taken twice), or says it's already being confirmed if the bank is still processing it. It only says "do not pay again" when there's a sign money is really on its way. Also fixed: once a card payment had been cancelled, swapped for a Direct Debit, or taken back after a dispute, the next card payment for that bill was refused ("temporarily unavailable"); it now starts a fresh payment. Local work only; deployment remains pending.
  • Card disputes (fix from the payments QA): when the club loses a card dispute, the bank takes the money back and the bill is owed again. Before, the bill still pointed at the old card payment, so the payment link and the family portal said "Payment is being confirmed. Do not pay again" and the family could never pay it. Now the bill lets go of that payment (it's kept as history), shows the reason ("The bank took this card payment back after a dispute on …"), and the family can pay again, by card or Direct Debit. The billing run never takes the money again by itself after a lost dispute: staff decide. Needs a new database step (stripe-dispute-lost-release-01); until it is applied nothing changes. Local work only; deployment remains pending.
  • GoCardless unlinked payments (review follow-ups): stopping a payment now needs the confirmation on the server too, not only on the family page. If two people press Stop at the same time, the second now hears "this payment has already stopped" (and the alert closes) instead of "it may already be on its way". And the nightly payments check now looks again at a payment GoCardless says was taken while AllSorted still has it down as not taken and wasn't going to check it soon, so a "may have paid twice" alert can't be missed when a GoCardless message never arrives. Local work only; deployment remains pending.
  • Video Review (staff, "Bill this month again"): the confirmation now says plainly what will happen: a new bill for the same amount as the cancelled one, due today, which AllSorted takes automatically by Direct Debit (even if the month is before the club's "collect from" date), and access comes back once it's paid. If the family has no working Direct Debit, it says the month can only be billed again once they have one, and offers only "Not now". Draft translations in all eleven portal language packs. Local work only; deployment remains pending.
  • Billing run (review fix, prevents a second charge): after a Direct Debit chargeback, the billing run is meant never to take the money again by itself. That only worked when AllSorted had first recorded the payment as paid. When the chargeback arrived straight away (as it does in every GoCardless sandbox test, and in real life whenever the "paid" message is missed), the bill was due again and the next billing run started a new Direct Debit. The same happened after a lost card dispute on a card payment made before AllSorted kept collection records. Both are now recognised, so the billing run leaves these bills for staff to decide. Local work only; deployment remains pending.
  • Unlinked payments (review fix, prevents a second charge): when a Direct Debit that AllSorted had let go of because it failed comes back (for example someone retries it in GoCardless after staff had already collected again), staff get the "about to be taken again" alert, but pressing Stop said "AllSorted has no record of unlinking this payment". Stop now works for these payments too, including one that was taken back after it was paid. And while such an alert is open, the billing run leaves that bill alone, so it never starts another payment beside one that may still be taken; once staff deal with the alert, billing carries on as normal. Local work only; deployment remains pending.
  • GoCardless "payment failed" messages (fix from the gc-migration review): if AllSorted's own checks (the nightly re-check, the missing-payment search, or a fee or payout re-read) noticed a failed Direct Debit before GoCardless's "failed" message arrived, the family was never told: the check updated the bill without queuing the message, and the later message changed nothing. Now the family's "payment failed" message is queued when the bill changes to unpaid because of the failure, whichever notices it first, and only once per failure (a payment retried and failing again is a new failure). A failure that turns up more than 10 days late updates the bill and tells staff, but doesn't message the family weeks afterwards. Needs a new database step (gocardless-payment-notifications-02); until it is applied, things work as before. Local work only; deployment remains pending.
  • Direct Debit staff items and reasons (review follow-ups): a payment that fails, is retried and fails again now gets its own staff item with its own next-try date, instead of keeping the first one's. If saving the item or the reason stopped halfway, the next check of the payment saves it (only once). The date on the bill, on the item and for the next try is now the club's own day (London), taken from GoCardless's record of the failure rather than the moment AllSorted happened to check. Items for bills that no longer need paying now close however many there are across all clubs. And an older bill whose last payment reason holds technical text (for example a bank code) now reads "The last payment didn't go through." instead. Local work only; deployment remains pending.

Direct Debits: matching existing GoCardless Direct Debits

  • Direct Debit matching gains a name step: when a payer's full name (or company name) matches a contact (the primary contact, a household contact or a member's guardian) in exactly one family, it is suggested as a possible match. A surname alone never matches, a name shared by two families never matches, and case, accents, hyphens and extra spaces are ignored. Emails and names are now compared against every family in the club, and two Direct Debits that point at the same family are left for a person to choose. The household "Link existing mandate" dialog shows these as "Possible match".
  • The GoCardless lists are read to the end; a malformed or over-long answer from GoCardless now stops with a message instead of showing a shorter list. Family lists behind Direct Debit linking are read in full past 1,000 families. No SQL, setting or flag change. Local work only; deployment remains pending.

Direct Debits: bring existing GoCardless Direct Debits across

  • New page for clubs moving to AllSorted: Bring existing Direct Debits across (Payment Options → Direct Debit, Settings → Payments, or "Link existing mandate" on a household). It lists every live GoCardless Direct Debit that is not yet linked, with no limit, in three groups: Ready to link (AllSorted's own record, or the email of one family's payer), Please check (the payer's name matches a contact in one family; tick each one you agree with) and Choose a family (search as you type, or skip for now). Link all ready shows how many will be linked and asks first, then links a few at a time with progress on the page. Each link is the same checked link as on the household page: GoCardless is checked first, every link is recorded, and trying again never links a Direct Debit twice. At the end a plain summary says how many were linked, how many still need a family and why any could not be linked (for example a payment on its way, which is still refused). A Direct Debit with a recurring collection set up outside AllSorted can now be linked, with a warning (see below). Clubs that bill each member link to members. If the owner has marked the GoCardless account as shared with another app, the page says that payments the other app takes stay with it. Schemes are shown as GoCardless names them (BACS, SEPA, ACH, PAD, BECS and others). No SQL, setting or flag change. Local work only; deployment remains pending.
  • Linking a GoCardless Direct Debit (on a household or on the bring-across page) no longer overwrites details another app keeps on it in GoCardless. If the Direct Debit carries anything AllSorted did not write (for example from GoCardless for Xero), AllSorted leaves it exactly as it is and records the link on its own side only; it adds its own details only when there are none, or only its own. The same applies when a Direct Debit is moved to another family. Who owns each payment is unchanged: AllSorted never used these Direct Debit details for that. New SQL unit gocardless-mandate-management-02 (apply straight after gocardless-mandate-management-01, with its read-only postflight). Both units are still waiting to be applied, and linking stays unavailable until they are. Local work only; deployment remains pending.
  • Bring existing Direct Debits across: if the club hasn't marked its GoCardless account as shared, the page first asks "Does another app (for example GoCardless for Xero) also collect payments from this GoCardless account?". No lets linking go ahead. Yes explains what AllSorted will and won't do: it doesn't change or cancel anything the other app set up; until the account is marked as shared, AllSorted treats every payment on a linked Direct Debit as its own, including the other app's. The club owner can say so there and then (see the switch below); anyone else is asked to tell their club owner. After "No", linking goes ahead. After "Yes", linking waits until the club owner tells AllSorted another app uses this account (review fix), so the other app's payments aren't counted as AllSorted's. A single row's "Link" also waits for the answer, and asks first, like "Link all ready". Local work only; deployment remains pending.
  • Direct Debit name matching now also uses an adult member's own name when that member is their household's payer or primary contact (their email is the household's primary contact or billing email). This helps adults who pay for themselves. The same rules apply: the name must belong to exactly one family, and a child's name never counts (a member counts as an adult from their 18th birthday; a missing date of birth doesn't). Local work only; deployment remains pending.
  • Settings → Payments: the GoCardless card no longer says "UK Direct Debit". It now describes Direct Debit as paid straight from the payer's bank account in any country GoCardless supports. Across AllSorted the Direct Debit scheme is shown exactly as GoCardless reports it (for example BACS, SEPA, ACH, PAD or BECS). No behaviour change.
  • Bring existing Direct Debits across (and "Link existing mandate" on a household) lists Direct Debits that another app, or the club itself in GoCardless, set up after AllSorted was connected: they are read from GoCardless directly. (An earlier version of this change also adopted AllSorted's own record of such a Direct Debit when it had no family. Production doesn't allow such records, so that path is kept but never relied on.) A Direct Debit that already belongs to a family is still refused, as before. Local work only; deployment remains pending.
  • Linking a GoCardless Direct Debit that still has a recurring collection set up outside AllSorted (for example in GoCardless directly or by another app) is no longer refused. Owner decision: the club cancels any other way it collects; AllSorted never cancels or changes that collection. Instead AllSorted warns plainly wherever the Direct Debit is shown until the collection has gone: on each row of the bring-across page ("Another monthly collection is still set up on this Direct Debit. Cancel it now, because AllSorted can start collecting straight away and the family could pay twice."), in the "Link all ready" confirmation ("N of these still have a monthly collection set up elsewhere"), in the results summary, in the message after linking on a household, and on the household's Direct Debit card (checked with GoCardless when the card is shown, for up to 20 Direct Debits; if GoCardless can't be checked, the card says so). Collections AllSorted set up itself are never counted. A Direct Debit with a payment on its way is still refused, and moving a family's Direct Debit to another family is still refused while such a collection exists. Only collections set up as GoCardless subscriptions can be seen in advance. An app that takes a separate payment for each invoice (as invoicing apps usually do) can't be flagged this way, so cancel its recurring invoices as planned. Local work only; deployment remains pending.
  • New switch for the club owner: Does another app take payments from this GoCardless account? It is on the GoCardless card in Settings → Payments, and on the bring-across page after answering "Yes" ("Tell AllSorted another app uses this account"). When it is on, AllSorted says: "Another app also takes payments from this GoCardless account. AllSorted will only treat its own payments as its own." Only the club owner can change it; everyone else sees the answer. AllSorted asks before each change and records who made it. Turn it on while another app (for example GoCardless for Xero) still takes payments, and off once that app has stopped. The bring-across page, its "Link all ready" confirmation and the switch also now say plainly: "AllSorted can only spot regular payments that are set up inside GoCardless, like a monthly subscription. If another app takes a payment for each invoice, AllSorted can't see it coming, so stop those payments in that app." New SQL unit gocardless-shared-account-setting-01 (with a read-only check before and after). Until it is applied the switch says "This setting can't be changed yet." and nothing changes. Local work only; deployment remains pending.
  • Deployment: the production build now also needs the Direct Debit SQL: gocardless-mandate-management-01, then -02, then -03, then the shared-account switch gocardless-shared-account-setting-01, then the family address unit household-address-from-gocardless-01. They are owner step 17c, before the access check and readiness. Run the Cover companion I2 straight after 01, because 01 adds a club table without the Cover boundary (the address unit's own table already has it). The readiness check now covers 85 definitions and 66 RPCs, and the build stops if any is missing. No change to how the app behaves. Local work only; deployment remains pending.
  • Families with no address: bills need a postal address to get a number, and families already give GoCardless their address when they set up a Direct Debit. So when a Direct Debit is linked to a family (or to a member, whose own family is used), AllSorted now copies the payer's address from GoCardless, but only when the family has no address. It never changes an address that's already there, and the audit log records each one as "from GoCardless". The family then sees a short note in their portal: "We added the address from your Direct Debit: … Is it right?", with "Yes, that's right" and "Change it". The note goes away once they answer, or if staff change the address. For Direct Debits that are already linked, "Copy missing addresses" on the Bring existing Direct Debits across page does the same, a few at a time, after asking first. The address is written on one line in the order GoCardless holds it, with the country added only when it differs from the club's own. The portal note has draft translations in every portal language (not yet checked by native speakers). New SQL unit household-address-from-gocardless-01 (with a read-only check before and after). Until it is applied, no address is copied and no note shows. Local work only; deployment remains pending.
  • Bring existing Direct Debits across (review fix): "Ready to link" now trusts only a payer's email, meaning the family's primary contact, its billing email, or a parent, guardian or carer contact. An email that belongs to another contact (an emergency contact, say) now goes to "Please check", because that person may not pay for the family. A Direct Debit is left for a person to choose when its payer email and name point to different families, or when AllSorted set it up for a family that already has a Direct Debit or can't be found. Each reason now says which email matched, for example "the billing email for the Smith Family". Local work only; deployment remains pending.
  • Bring existing Direct Debits across (review fix): the page, the "Link all ready" confirmation and the outside-collection warnings no longer say that linking takes no payment. Once a Direct Debit is linked, AllSorted can collect bills that are due from it straight away, including older unpaid bills, and the copy now says so. A way to choose the date AllSorted collects from is planned separately. Local work only; deployment remains pending.
  • Direct Debits (review fix): unlinking an ended Direct Debit is no longer offered. Production requires every Direct Debit record to name a family or member, so an unlink could never finish; an ended Direct Debit now simply stays listed on the family's record, and past payments and invoices are unchanged. The GoCardless rehearsal now runs with production's rule switched on. Local work only; deployment remains pending.
  • GoCardless (review fix): when a family's new Direct Debit becomes active, AllSorted no longer cancels their old one in GoCardless if another app may still use it. That is, when the owner has said another app uses this GoCardless account, or the old Direct Debit still has a collection AllSorted doesn't track (or GoCardless can't say). Instead it keeps the old one and lists it for staff in Payments Health. Messages about Direct Debits or subscriptions AllSorted doesn't have (another app's) are now simply acknowledged, instead of being refused and sent again forever. Local work only; deployment remains pending.
  • Bring existing Direct Debits across (review fix): a Direct Debit that another app has labelled with its own "club" is no longer hidden. It now shows under "Choose a family" with a plain reason ("Another app has put its own club label on this Direct Debit. Check it belongs to your club before you link it."), and linking it never changes that app's label. Only Direct Debits labelled for another AllSorted club stay hidden, and the page now says how many ("2 are labelled for another AllSorted club, so they aren't shown") instead of claiming everything is linked. AllSorted now writes its own labels on a Direct Debit only when it has none, or only AllSorted's own for this club. Local work only; deployment remains pending.
  • Bring existing Direct Debits across (review fix): a list that is more than 30 minutes old can no longer be used to link, because its matches may have changed (for example an email edited, or a family linked elsewhere). The page says so and asks you to check GoCardless again, then carry on; anything already linked stays linked. Retrying a link that picked up AllSorted's own record of a Direct Debit now finishes that same link instead of being refused. Local work only; deployment remains pending.
  • Direct Debits (review fix): AllSorted now also warns about payments it didn't ask for. An app that takes a payment for each invoice (as GoCardless for Xero usually does) sets up no subscription, so it couldn't be seen before, but its payments show on the Direct Debit. When a Direct Debit is linked, and on the household's Direct Debit card, AllSorted now says "GoCardless shows 2 payments on this Direct Debit in the last 90 days that AllSorted didn't ask for. If another app takes a payment for each invoice, stop that in the other app, or the family could pay twice." The results summary counts them too. AllSorted's own payments are never counted, and this never stops a link. Local work only; deployment remains pending.
  • Bring existing Direct Debits across (review fixes): the "Link all ready" confirmation now counts a Direct Debit whose family you changed as one you chose, not as matched automatically. If a chosen family can't be found any more, the page names it and nothing else in that group is linked. A failed link now says "that family can't be found any more" instead of blaming GoCardless. If an earlier link of the Direct Debit to another family didn't finish, the page says which family; linking it to that family again finishes it. GoCardless is now asked only for live Direct Debits and collections, and families are read in a steady order, so a very large account or a name edit can't hide one. On the household page, the "could pay twice" warnings now show for everyone who can open the household, not just admins. Local work only; deployment remains pending.
  • Owner SQL step 17c (review fix): the runbook no longer says gocardless-event-ordering-01 is already live. It now checks: the first preflight must show event_ordering_installed as t, and if not, that unit is applied first. Unit gocardless-mandate-management-01 itself now refuses to apply unless every one of the event-ordering columns it writes is there. No behaviour change. Local work only; deployment remains pending.
  • Shared-account switch (review fix): while the owner flips the switch, the club's record is held in a lighter way. Two changes to the club's own record still take turns, but adding a member, a booking or anything else that belongs to the club no longer waits for it. Only the SQL unit gocardless-shared-account-setting-01 changed; its checks before and after, and the readiness unit, now expect the new version. Local work only; deployment remains pending.
  • Linking Direct Debits (review fix): if two people link two different Direct Debits to the same family (or member) at the same moment, only one can now succeed. Before, both could finish, and the family would have two Direct Debits. The one that finishes second now says "That family or member already has a Direct Debit, so this one wasn't linked." Nothing else is changed, and that Direct Debit can then be linked to the right family. The same words now show when a family already has a Direct Debit before you start. New SQL unit gocardless-mandate-management-03 (owner step 17c, straight after -02, with a read-only check before and after). It changes only the step that finishes a link, and the production build requires it. Local work only; deployment remains pending.
  • GoCardless: if another app puts its own details on a new Direct Debit using the same labels AllSorted uses (for a family or a member), AllSorted no longer gets stuck trying to record it over and over. A Direct Debit that names none of the club's families or members is no longer recorded at all (production requires every Direct Debit record to name one); the event is simply acknowledged, and staff can bring the Direct Debit across later. A Direct Debit AllSorted already has keeps getting its status. Details AllSorted wrote itself still work as before. Local work only; deployment remains pending.
  • GoCardless payouts in Xero: moving "Post payouts created on or after" to an earlier day now reads GoCardless from that day, so the payouts it adds are posted even after weeks of posting from the later day. Payouts skipped while the day was later are posted too. Before, the added days could be missed without anyone being told.
  • GoCardless payouts in Xero: when Allsorted takes over posting payouts from GoCardless for Xero, it now starts with the payouts GoCardless creates the next day. GoCardless for Xero may already have posted a payout created earlier that morning, and Allsorted would have posted it again. The settings say so: if GoCardless for Xero didn't post that day's payouts, post them in Xero by hand. Starting today instead asks for confirmation, listing today's payouts.
  • Issuing membership invoices when they are collected: an invoice that was issued with a total that is not the amount collected is now listed on the Xero sync page ("Total changed") until AllSorted support has checked it and cleared it. Before, it disappeared from the page once the invoice had its number. Records for invoices that were later issued another way, voided or cancelled no longer crowd out the ones that still need attention, and the nightly Xero check now clears them.
  • GoCardless payouts in Xero: moving "Post payouts created on or after" to a later day now asks first, naming any payouts Allsorted has recorded but not yet posted from before that day, so they can be posted by hand. A payout Allsorted has already started posting is always finished, so Xero is never left with half of one.
  • Issuing membership invoices when they are collected now also stops when the club's Xero invoice sync is set to Off, so Off stops everything Xero-related for the club at once. Collection carries on as usual.
  • Stripe payouts in Xero: Allsorted can now post Stripe payouts too, like GoCardless ones. Each payout of card payments Allsorted already sent to Xero becomes a transfer from the Stripe clearing account to the bank, with one entry for Stripe's fees. Payouts holding anything else (a card sale without an invoice, a refund made in the Stripe dashboard, a dispute) are listed for a person to post by hand. The Xero payment settings have a Stripe section, and the Payouts tab shows both.
  • Credit notes in Xero: the club can now set its own credit note prefix in the Xero settings (for example CWC-CN-). Until it does, Xero numbers the credit notes Allsorted sends and Allsorted's number goes in the reference, as before. With a prefix of its own and Allsorted invoice numbers, Xero keeps Allsorted's credit note numbers. Issued credit notes keep their numbers.
  • GoCardless and Stripe payouts in Xero: taking over payout posting now always starts with the next day's payouts, even when the payout setting was still at "Nobody yet". Before, a payout created that morning and already posted by GoCardless for Xero could be posted again.
  • GoCardless and Stripe payouts in Xero: when a payout has to be posted by hand, the settings now give the references to use. If the day is later moved back, Allsorted finds those entries instead of posting the payout twice, and the confirmation names the payouts that come back.
  • GoCardless and Stripe payouts in Xero: confirming a change to the payouts day now counts only for the payouts that were shown. If more payouts appear in the meantime, the settings show the new list and ask again.
  • GoCardless and Stripe payouts in Xero: a payout whose transfer reached Xero just before a connection problem is now always finished, even if the payouts day was moved later in the meantime. Before, it could be left half-posted.
  • GoCardless and Stripe payouts in Xero: VAT on provider fees now follows the club's VAT setting in Allsorted. A club that is not VAT registered posts fees without VAT and is never asked. A VAT-registered club chooses the Xero VAT rate for each provider's fees, and its payouts wait, with a clear message, until it does.
  • Xero payment settings: a new "Set up Xero for Allsorted payments" checks the club's Xero and, after the owner confirms, adds only what is missing: the GoCardless and Stripe clearing bank accounts, an account for each provider's fees and the GoCardless and Stripe supplier contacts. It then selects them in the settings. Anything already there is kept and never created twice. Adding accounts needs one extra Xero permission, asked for only when this set-up is used.
  • Direct Debit and saved-card retries: the owner can now choose, in Settings → Payments, how many times and after how many days Allsorted tries a failed membership payment again, whether a Direct Debit or a declined saved card (up to five retries; the default stays after 3 days, then 5). A preset matches GoCardless for Xero's single retry after 3 days, and "Never retry" is an option. A change applies only to retries scheduled after it: a retry already scheduled keeps its date, and an invoice that has had its last try is never tried again.
  • Credit notes in Xero: when Allsorted looks up a credit note it sent to Xero (for example to finish one interrupted by a lost connection), it now asks Xero for that credit note alone and uses nothing else. A refund payment removed in Xero no longer counts as the refund.
  • Xero nightly check: it now also checks what Allsorted posted for payouts and credit notes. For each GoCardless or Stripe payout, the transfer to the bank and the fee entry must still be in Xero with the amounts Allsorted posted; for each credit note or card refund, the credit note, what it takes off the invoice and the refund payment must still be there. Anything deleted, voided or changed in Xero is recorded for staff. Nothing is changed in Xero or in Allsorted.
  • Xero payouts and sync status: a payout Allsorted posted that the nightly check finds missing or changed in Xero is now listed under Needs attention on the Payouts tab, saying what was found. Once it has been put right in Xero it can be marked as handled in Xero; it is never posted again. The sync status page counts these payouts and credit notes in "Nightly check differences", links to the Payouts tab, and lists the credit notes with their invoice and family.
  • Credit notes in Xero: a credit note numbered before the club chose its own credit note prefix now goes to Xero without its CN- number (Xero numbers it and Allsorted's number stays the reference), so it can never clash with Xero's own numbering. A credit note prefix can no longer start with CN- or INV-, and the invoice and credit note prefixes can no longer end up the same when both are saved at once.
  • GoCardless and Stripe payouts in Xero: a payout posted by hand with Allsorted's reference is now found whatever day it was dated, so it is never posted a second time; one with the reference but a different amount is listed for a person. When the payouts day moves later, the settings now give each payout's amount and the day it was paid out, to post it exactly as Allsorted would.
  • Xero payment set-up: the audit now records what was created even when Xero stops the set-up part-way, and running the set-up again after deleting or renaming an account it created now creates a new one instead of reusing the old one.
  • Xero payouts: "Fetch and post payouts now" is always recorded in the audit log, and when one provider's payouts wait (for example for the fee VAT rate) the message says what the other provider's run posted.
  • Xero payment settings (VAT-registered clubs): the Stripe fee VAT choice now says that Stripe reports no VAT on its fees, suggests a 0% rate such as No VAT or Exempt, and questions a rate that adds VAT.
  • Xero settings: if the credit note numbering can't be read for a moment, the rest of the Xero settings still load, and the page says the credit note prefix can't be read just now.
  • Xero payouts: "Fetch and post payouts now" is written to the audit log before anything is fetched or posted, and its outcome is recorded afterwards even if the run stops part-way.
  • Xero database checks (for whoever applies the Xero database changes): the check before installing the Xero sync now also confirms that no signed-in or public browser role can change invoice or credit note numbering. When the Xero settings can't read the credit note numbering, the failure is now reported to the team as well as shown on the page.
  • GoCardless and Stripe payouts in Xero: before posting a payout, AllSorted now always checks Xero for its transfer and fee entry, also finding ones typed with different capitals or spacing. A fee entry posted by hand with a different amount is listed for a person instead of being posted a second time.
  • Xero payment set-up: every account and contact the set-up creates is now checked in Xero before it is chosen. One deleted, archived or renamed in Xero since an earlier set-up is created again once, and anything still not right is listed with the reason instead of being chosen.
  • Xero invoice settings: the accounts and tax rates now come from your Xero when the settings open ("200 – Sales", sales accounts first), with suggestions filled in for you to check and save: your main sales account, accounts named for memberships, events, courses or kit, and your Xero's own tax rates. A code Xero doesn't have is refused with the reason instead of being lost, and "Unsaved changes" shows until you save.
  • Xero invoice settings: the branding theme list names Xero's default theme. Sending approved invoices now asks you to confirm the theme they use has no online payments in Xero (Xero doesn't let AllSorted check this), with steps for making a theme without them.
  • Xero contacts: contacts AllSorted creates are now named like "Smith Family" (a household already called "… Family" keeps its name), carry the family's address and AllSorted's household reference as the account number, and a name Xero already has is tried with the street, then a number.
  • Xero contacts: "Accept all exact matches" and "Create contacts for all households with no match" do in one go what took a click per family, each asking first with the count. "Check family addresses" shows how each address will be split for Xero and lists families to fix, with a link to their edit form.
  • Xero sync status: "Send all queued" keeps sending in small batches until nothing is waiting, with progress and Stop, and pauses for Xero's rate limit. An invoice waiting for its family's new Xero contact is shown as waiting, not as a problem.
  • Xero comparison: a month now compares the Xero invoices due in it by default, so invoices issued in late September for October count in October; "Dated in the month" is still a choice. The Xero total now says how much is for linked families and how much is for Xero contacts not linked to a family, and how many of AllSorted's own invoices were left out.
  • Xero settings: a "Set up Xero" checklist takes the club from connecting Xero to automatic sending, saying at each step where the club is and linking to where it is done.
  • Xero contacts: a family's contact that AllSorted created now follows the family: a change to its name, contacts, billing email or address is sent to Xero with the next send. Contacts you linked to your own Xero records stay as they are unless you choose, in the Xero settings, to keep their addresses or use AllSorted's family name. "Update contacts in Xero" sends them all again.

Refunds (every club — not behind a switch)

  • A refund you make in the GoCardless dashboard is now recorded on the family's bill: it shows as partly refunded, or refunded when the whole payment is refunded, with a record of each refund. Before, the bill stayed "paid" and nothing showed the refund. If GoCardless cancels the refund, the bank bounces it, or the money comes back later, the bill shows as paid again and your team sees it in the payments list ("GoCardless refund failed or came back"), and its to-do item opens that family. If that refund already had its credit note, the item names it: the credit note stays, so if the family isn't getting this money back, bill them again. AllSorted never makes GoCardless refunds itself. This needs the database update gocardless-invoice-refunds-01.
  • A card refund that fails after Stripe said it went through (Stripe gives the money back to your club) now shows the bill as paid again, or partly refunded if another refund on it went through. The payments list names the refund's credit note if it had one: it stays, so if the family isn't getting this money back, bill them again. Before, the bill stayed "refunded" although the family never got the money. It also works when a second refund on the same payment fails later (before, that second one could never be recorded). This needs the database update generic-invoice-refund-observation-02.
  • A refund of a bill that had a credit note before it was paid (so the card was charged less than the bill) is now recorded. Before, it couldn't be recorded at all and Stripe kept sending it until it gave up. Same database update.
  • For clubs that send payments to Xero: a Direct Debit refund now goes to Xero like a card refund (a credit note paid out from your GoCardless clearing account), and a GoCardless payout with that refund in it is posted once the refund is in Xero. If a refund's money comes back after it was sent to Xero, the payout is listed for a person, since the refund in Xero has to be undone by hand.
  • Clubs that share their GoCardless account with another app (for example GoCardless for Xero): a refund of that app's payment is no longer listed for your team. Only refunds of AllSorted's own payments are recorded or listed.
  • Xero payouts: a GoCardless payout with a refund whose money came back now says so in plain words (undo that refund in Xero by hand, post the payout by hand, then mark it handled), and a payout paid out before AllSorted started posting payouts says it was posted another way.
  • VAT-registered clubs: a refund now gets its credit note, so the VAT is corrected exactly. Each morning AllSorted issues one when the whole bill was refunded (every line in full, with its VAT as on the bill, or no VAT if the bill was made before the club registered for VAT) or the bill has one line (the refunded amount, with its VAT). If only part of a bill with several lines was refunded, or the bill already has another credit note, AllSorted can't know which lines, so it doesn't guess: issue a credit note for the refunded amount on the bill, and AllSorted ties it to the refund the next morning. A credit note made before the bill was paid is never taken as a refund's, and a refund done again after one failed uses the credit note it already has. For clubs that send payments to Xero, that credit note is what goes to Xero, paid out as the refund. This needs the database update refund-credit-notes-01.
  • Credit notes on a refunded bill: if a refund already has its credit note (for example the one AllSorted made that morning), making another for the same refund is stopped, and AllSorted says which credit note it already has. If you really mean to credit more than was refunded, tick “Credit more than was refunded”. Each bill now lists its refunds, with the credit note for each and who made it (for example “Refund £6.00: credit note CWT-CN-0001 (made by AllSorted)”).
  • For whoever releases AllSorted: the check that stops a release going out without its database updates now also needs wave3-member-transfer-authority-02, invoice-refund-records-01, gocardless-invoice-refunds-01 and refund-credit-notes-01 (apply them, then kata-required-sql-readiness-01 again).

Invoice numbers (every club — not behind a switch)

  • Every bill now gets its invoice number as soon as AllSorted starts collecting it: when a Direct Debit payment is asked for (by the billing run, or by staff with "Collect by Direct Debit"), or when a card payment starts (a payment link, the portal's Pay button, an event entry, or a saved card). This is for every club, whether or not it uses Xero, and for every kind of bill. The old owner-only switch in the Xero settings is gone; clubs that had it off now work like everyone else. The amount never changes, and a bill that already has a number keeps it, so a double click or a retry never uses two numbers. If a bill can't be numbered (for example because the club's or the family's postal address is missing), the payment still goes ahead and the bill waits for its number. Your Action Centre shows what is waiting, and Settings → Invoices & VAT lists it (clubs that use Xero also see it on the Xero sync page). Add what is missing, and the bill gets its number the next morning.
  • Behind the scenes, the daily payments check now closes, for every club, the record of a bill that couldn't be numbered once nothing more is needed (the bill got its number another way, or was voided, cancelled or deleted).
  • When a bill can't be issued because the club's name, postal address, VAT number or VAT choice is missing, the message now sends you to Settings → Invoices & VAT, where those details are. It used to say "Settings → Billing", which is your AllSorted plan.
  • Bills with money off can now get their number. A family cap (like a £179 cap for the whole family), an agreed family price or a discount is written on the bill as money off of the bill's own kind (for example a membership line of −£21). Before, AllSorted refused to number any bill with such a line, so it never got its number and never reached Xero. Now money off of the bill's own kind is accepted, as long as the bill still adds up to zero or more. Money off of a different kind (for example shop money off on a membership bill) still needs to be marked as a discount. Credit notes on these bills work as before. This needs the database update invoice-issuance-contract-02; until it is installed, such a bill is recorded once and not tried again at every collection.
  • Bill and credit note numbers no longer get cut short after 9,999: the next number is 10,000 (before, it would have become 1,000 again and numbering would have stopped for that club). Same database update.
  • Every club's bill numbers now start with its own short code, made from the club's name: Creative Ways Taekwondo's bills read CWT-0001, and its credit notes CWT-CN-0001. Before, every club's numbers started with INV-, which is also what Xero uses. No two clubs can have the same code; if a club's code is taken, it gets the next free one (like CWT2). Numbers keep counting up from where they are, and bills keep the numbers they already have. A club that already chose its own start keeps it. A new club gets its code before its first bill.
  • Settings → Invoices & VAT shows "Bill numbers start with CWT-" and what the next bill will be. The club owner can change the code there (2 to 6 letters or numbers). If a code is taken, it says so plainly, like "That code is taken. Try CWT2." For a club that uses Xero, AllSorted first checks the club's Xero (it only looks) for invoices that already start with the code, and suggests another if it finds some. The Xero settings now show the code and that check, and link to Settings → Invoices & VAT, instead of having their own prefix box.
  • This needs the database update club-bill-code-01 (after invoice-issuance-contract-02). Its check lists every club's code before anything changes; the club owner can choose a different code for any club, and the update only goes ahead with the check code from that list.
  • Giving a bill its number in one club never waits for another club. (Before this fix, the club code update would have made every club's bill numbers queue behind one another.)
  • The club code update's check now also spots two clubs whose bill numbers already start the same way (like AS- and as-, whatever the capital letters). It says so plainly, for example "Alpha Swim and Apex Sports both start their bill numbers with AS-. Two clubs can't share a start: choose a new code for one of them in YOUR CHOICES", and the update doesn't go ahead until one of them has a new code. Its last check no longer fails because of a club added after the update that hasn't numbered a bill yet (that club gets its code with its first number).
  • When a family pays a bill themselves (a payment link, the portal's Pay button, or an event entry) and the bill has no postal address, the page first asks for "House number or name" and "Postcode or ZIP code", then carries on to the payment. There are no format checks, so it works outside the UK too. For a family's bill, the address is saved to the family, but only if the family has no address yet (a payment link never changes one), and it is marked "added by the family when paying". For a bill with no family, it is saved on the bill itself.
  • The address step on the pay page never saves anything for the demo club.
  • Before a bill gets its number, AllSorted now uses the bill's own address or the family's address, and nothing else. If the bill's own address is blank (even just spaces), the family's is written on the bill. A member's address from when they joined is never used: in separated families it could put one parent's address on bills the other parent gets. A family with no address is asked for one (house number or name, and postcode) when they next pay, and the bill waits for its number until then. The checks that tell you which families are missing an address use the same rule, so they agree with what happens when a bill gets its number.
  • The check of which bills can't get a number yet now also counts bills with the old status "Open", and tells a VAT registered club to choose whether its prices include VAT (until it does, no bill can get a number).
  • A bill that couldn't get its number is now tried again every morning. So once you add what was missing (like your club's postal address, or a family's address), the bill gets its number by itself, and you don't have to press Issue on each one. While your club's own details are still missing, those bills just wait. Behind the scenes, the daily check now looks at every waiting bill, not only the oldest 500, so it can't get stuck.
  • Action Centre: bills waiting for a number now show up, one item for each kind of problem, with a count and a button that goes where it gets fixed. For example "Add your club's postal address so bills can get numbers (12 bills waiting)" opens Settings → Invoices & VAT, and "3 families need an address before their bills get numbers" opens the list of those families, each with a link to its page. Other items say when bills need correcting, when a bill has no family and no address, when AllSorted will simply try again the next morning, or when a numbered bill's total isn't what was collected. Each item goes away by itself once it is fixed, and comes back if the problem comes back. While a problem continues it stays the same item, even as the bills in it change (it used to close and open again when the oldest one was fixed). An item you dismiss stays dismissed while its problem continues; if the problem goes away and later comes back, it shows again.
  • Settings → Invoices & VAT has a new "Bills waiting for a number" list for every club, not only clubs that use Xero: what your club still needs to add, each family that needs an address (with a link to the family), and each bill that is waiting and why.
  • AllSorted's own health page (for AllSorted's team): bills waiting for a number are no longer mixed in with money problems. They are shown on their own, one line per club and reason with a count, and they no longer count towards "Needs attention" (in the list or in the Payments status at the top), so a burst of them can't hide a real money problem.
  • Bills that AllSorted doesn't collect now get their numbers too, so they reach Xero. A bill marked paid by hand gets its number straight away. A regular bill from your billing run that nothing is collecting (no Direct Debit or card payment) gets its number on its due date, first thing in the morning. Any other bill (one you made by hand, or an event entry) gets its number 14 days after it's due if it's still open, so you can still change it until then; the bill says which day that is ("This bill gets its number on 15 March 2027. After that, changes need a credit note."). A small Video Review bill that is waiting to be added to the next one is left alone. Before, such bills waited for a number for ever, and with AllSorted's numbers they never went to Xero.
  • If the morning check misses some days, bills due in the meantime still get their numbers (before, a bill due more than a week or three earlier was left out for good). This counts from the day of this release; older bills are for your team. If your club's own name or address (or VAT number) is missing, its bills can't get numbers yet: each is now listed as waiting, with what's missing, and gets its number the morning after you add it.
  • The morning numbering of bills nothing is collecting now skips a club whose own details (like its postal address) are missing, since none of its bills can get a number until they're added (the "Bills waiting for a number" list says what to add). It also leaves bills that are already waiting to be tried again each morning, and clubs take turns going first. So bills that can't get a number never use up the morning, and every club's bills get their turn.
  • Xero sync page: bills waiting for their number are now counted under "Waiting to send" and listed, due soonest first, with when each will get its number. Staff who can raise invoices can press "Issue now" to give one its number straight away (it asks first, because a numbered bill can't be changed; a change needs a credit note). The "Set up Xero" checklist no longer says "Nothing is waiting" while bills are waiting for their numbers.
  • Xero and bill numbers: a bill whose number starts with INV- (Xero's own start, from before your club had its code) is never sent to Xero with that number, whatever your code is now, because it could clash with an invoice Xero numbers itself. It is listed under "Needs attention", saying so in plain words. A club with no bills yet no longer looks like it starts with INV-, so a new Xero set-up keeps AllSorted's numbers. If you choose "Xero's numbers", the settings now say plainly that each bill will have two numbers: the one families see, and Xero's own.
  • Xero set-up checklist: "Match your families to people in Xero" now counts a family as matched only when it is linked, or its new Xero contact is being added. Before, an update queued for a family that was already matched counted a second time, so the step could say every family was matched when some weren't.
  • Xero set-up checklist: the number of bills waiting for their numbers now matches the Xero sync page. Each bill is counted once, and a bill that has since got its number, or was voided or cancelled, no longer counts.
  • Xero settings: the check that looks in your Xero for invoices already starting with your code now runs only when the Xero settings ask for it (just opening a web address can't start it), and never for the demo club.
  • Security: paying for an event entry without being signed in now always needs the entry's own invite link. Before, someone who knew a waiting entry bill's id could start a card payment for it.
  • Xero contacts: just before AllSorted sends a family's details to Xero, it checks again which Xero contact the family is linked to. If staff linked the family to a different contact in the meantime, nothing is sent (it's listed for a look instead), so the old contact is never overwritten.
  • Xero contacts: how a family's address is laid out for Xero (a UK postcode, town and county, or just address lines) now follows the country of your Xero organisation, not the money your club bills in. AllSorted notes the country when it reads your Xero organisation (opening the Xero settings, or "Check connection"). Until then, a club billing in pounds is treated as a UK club, as before.
  • A bill that was given a number which then couldn't be confirmed is now tried again every morning like other waiting bills, instead of being listed as a total that changed.
  • Moving a member to another club in your group now works when one of their bills already has its number. Before, the move tried to cancel that bill, which isn't allowed once a bill has its number (it needs a credit note), so the whole move stopped with "Failed to transfer student". Now the move leaves such a bill in your club, still owed and with the same number, and tells you its number, so you can raise a credit note if the family shouldn't pay it. A family bill that already has its number no longer stops the move either. Bills without a number are cancelled as before, and a bill with a payment in progress still stops the move. This needs the database update wave3-member-transfer-authority-02; until it is installed, the move stops with a plain message saying why, and nothing is changed.
  • Good to know: once a payment for a bill has started (a Direct Debit is asked for, or the card payment form is opened, even if the family then leaves it), the bill has its number and can't be changed any more. To change it, add a credit note.
  • The Xero pages, and what AllSorted writes into your Xero (like "(set up by AllSorted)" on the fee accounts it adds), now spell the name AllSorted.
  • Small fixes: a card payment for a bill is now described as "Payment to" and your club's name on the family's card statement and in Stripe, not part of a long internal id. It is the same every time (it doesn't depend on whether the bill has its number yet), so if a payment has to be tried again, Stripe never refuses it for looking different. The note for your bookkeeper asks its question once, at the end. Xero contacts get the family's address only: a family with no address gets none (shown as "empty" in "Check family addresses"), and its Xero contact gets the address with the next send once the family gives it when paying. A member's address from when they joined is never sent.
  • Xero set-up checklist: three steps are optional — checking a month adds up, telling Xero when families pay, and letting AllSorted send things by itself. The club owner can mark one "Not needed for us": it shows as skipped, in grey, and counts as done, so the checklist can reach "Ready". "Set this up after all" brings it back. Turning the thing on later (for example telling Xero about payments) clears the skip by itself. The other steps are needed, so they can't be skipped.
  • Xero: "Ask your bookkeeper to check this" (in the set-up checklist and the Xero settings) makes a short, plain summary of your Xero choices: where each kind of money goes (with the account names, like "200 – Sales"), the tax rates, where card and Direct Debit payouts land, where fees go, how invoices are numbered, and whether practice copies or real invoices are sent. It ends by asking your bookkeeper to check it. Copy it, or open it in an email. It has nothing about your families.
  • Xero settings and the set-up checklist now use short, everyday words. The steps are: connect your Xero, choose where your money goes, match your families to people in Xero, check their addresses, send practice copies first, send everything that's waiting, check a month adds up, make sure Xero doesn't ask families to pay too, send real invoices, tell Xero when families pay, and let AllSorted send things by itself. Words like "drafts", "approved" and "clearing account" are explained the first time they appear.

Payment and bill messages (Communications Triggers)

  • New triggers for families' bills, each sent once to the household payer (one message per family, however many children the bill covers): New bill (when the billing run makes a bill or staff issue one, before any payment is taken: the amount, the due date and how it will be paid, such as "Direct Debit on or just after 1 October 2026" or a secure "Pay by card" link), Payment received (a receipt once a bill is fully paid by Direct Debit, card or a payment staff record; clubs can choose which payment methods get one), Direct Debit set up (once the Direct Debit is active, not when the form is first filled in), Direct Debit cancelled (cancelled, expired or failed, with the reason in plain words and a link to set up a new one in the member portal) and Refund issued (a confirmed card or Direct Debit refund of a bill). Each automation sends its message once for each bill, payment, Direct Debit change or refund: a payment company telling AllSorted about it again, a job being retried, or the automation being changed and published again never sends it a second time.
  • There is no separate "bill issued" message: numbering a bill is internal and, with invoices numbered when collection starts, would arrive alongside the payment itself. Issuing only makes sure the family has had its one New bill message; a bill already announced is left alone.
  • A bill staff are still writing (a draft they can still change) no longer sends New bill. The family hears about it when staff issue the bill, or when collecting its payment starts.
  • Paying a bill is never slowed down by a message. When a family pays for themselves (a pay link, the Pay button in the member portal or an event entry), AllSorted sends no New bill at all. When staff issue a bill, or (once bills are numbered when collection starts) the billing run or staff collect it, the family's one New bill (only if they never had one) is put in a queue (a list of messages saved safely to send next) and goes out within about five minutes. A message waiting in the queue is not lost if the server stops: if a server stops while sending one, it goes back in the queue after 30 minutes and is tried again, and a message that already went out is never sent twice.
  • Receipts (Payment received), Direct Debit set up and cancelled, and Refund issued messages now go into the same queue and are sent within about five minutes. When GoCardless or Stripe tells AllSorted about a payment, or staff mark a bill as paid, AllSorted answers straight away instead of waiting for an email to be written and sent.
  • A rush of billing messages (for example hundreds of receipts on the first of the month) can no longer hold back other automation messages that are due, such as reminders or the next step after a Wait. Each kind now gets its own share of every five-minute run.
  • In Automations → Upcoming, a family billing message waiting in the queue (for example one waiting to be tried again) now shows its trigger, such as "Refund issued", and the reason it is waiting, instead of "Trigger — resume after wait".
  • New bill messages for the billing run's bills are now sent by the automations job that runs every five minutes, not inside the daily billing run. Taking payments never waits for a message, and a new bill is announced within about ten minutes of being made. The check now reaches every new bill, not just the oldest 200, and looks at a bill again only when something its New bill decision depends on changes: the bill itself, the club's New bill automation, the family's email addresses or the member who represents the family, a credit note on the bill, or an older New bill rule being switched off. Before, a bill the automation left out (for example because of its conditions) was checked again every five minutes, writing a new activity record each time. If some bills cannot be announced, or there was not enough time to reach them all, the automations job is marked as failed in Admin Health (with what it did) so it gets looked at, instead of the problem going unseen.
  • A family message whose sending keeps stopping the server part-way now stops for good after six tries (it is marked as failed and we are alerted), instead of being tried again every 30 minutes for ever, each time with a new pay link. If the check for such messages cannot run, the rest of the five-minute run still sends what is due, and the run is shown as failed in Admin Health.
  • The New bill check now asks the database about at most 50 bills at a time, and looks up automations and clubs 100 at a time. Before, a page of 200 bills made one request more than twice as long as the server accepts, so a club with that many new bills would have had every five-minute check fail.
  • Payment failed now goes to the household payer of the failed bill (the member's own contact when there is no household bill) and can include the bill's invoice number, due date, a secure pay-by-card link, the member portal link and the invoice PDF link. Invoice overdue can include the same three links. A pay link is only offered while the bill can actually be paid by card, and a button whose link does not apply is left out of the email.
  • When staff press Retry on a Payment failed email that did not arrive, AllSorted first checks the bill again. If it has been paid, refunded or closed since, the email is not sent ("bill no longer owed"). If the bill cannot be read, the retry is left to try again later.
  • Payment failed going to the family's bill payer, not the member's own email, is deliberate: it follows the owner's decision of one message per family. Clubs that already use Payment failed will see this change.
  • Payment failed now reaches the person who pays the family's bills even when the member linked to the payment has no email address, or the bill has no member at all. It is only skipped when nobody in the family has an email address. A failed card payment's message is now put in the queue and sent within about five minutes, so the card payment company is answered straight away. Just before it is sent, AllSorted checks the bill again: if it has been paid (or closed) in the meantime, no failure message goes out.
  • Dates in these messages are written out, such as "1 October 2026", in the same style as the club's money (a club billing in US dollars reads "October 1, 2026"). This covers the due date, the payment date, the expected collection date and the refund date. Existing Invoice overdue and Family renewals payment received messages that use {{invoice_due_date}} or {{payment_date}} now show dates this way too, instead of "2026-10-01".
  • Direct Debit cancelled is no longer sent when your club cancelled the Direct Debit itself (staff did it on purpose and can tell the family), or to a family that has left (no active, new or paused members). It is still sent to a current family when their bank, GoCardless or the account holder stopped it, or when it ran out or failed. It also stays quiet when the family already has another working Direct Debit, including one set up for just one of its members.
  • Refund issued also goes out for Direct Debit refunds made in GoCardless after the refund observer records them against the bill. A refund needing review or belonging to another system does not send this message.
  • New bill, Payment received, Payment failed, Direct Debit set up, Direct Debit cancelled, Refund issued and Invoice overdue are now sent as essential emails (like a receipt), not as marketing. A family who said no to marketing emails still gets them, so please keep news and offers out of these messages. Addresses that bounced, or that reported an email as spam, are still never sent to.
  • When a family message has to be tried again (for example after the email service turned it away), AllSorted first checks it would still go to the same person who pays the family's bills, in the same order it was first chosen (the family's billing email, the main contact, the bill's own email, then a member's). This now also works for a family with no member to stand for them, and for a message that went to the bill's own email. If the payer has changed, the old message is not sent.
  • If you add a Wait step to one of these billing automations and then publish a new version while a message is waiting, that waiting message is not sent (Automations shows the run as cancelled), and the new version does not start that bill or payment again. This is on purpose: starting again could send the first message a second time.
  • If a club's billing run makes each bill on the same day it takes the payment, New bill messages for those bills start only once the Xero payments work is merged. By the time the New bill check looks, the payment is already being taken, so only the step that runs as collection starts can send them.
  • Starter drafts (never published) for the five new triggers are in the starter template pack. They and the trigger descriptions use short sentences and everyday words. GoCardless already emails payers when a Direct Debit is set up and before every payment, so the Direct Debit set up draft adds club information rather than repeating those notices.
  • A club's existing "Payment received" or "Direct Debit cancelled" rules in the older automation settings keep sending as before: the new trigger for the same moment stands aside while such a rule is on, so a family never gets both. The one exception is a payment staff record by hand: the older rules never sent a receipt for those, so the new Payment received trigger now sends it even while an older rule is on (before, such a payment got no receipt at all).
  • New bill now only says a bill will be paid by Direct Debit or a saved card when AllSorted will really take the money that way. For Direct Debit, the club must be connected to GoCardless, the family's Direct Debit must be active, the bill must be at least the smallest amount the bank scheme allows, and there must be tries left. A saved card must be complete and saved on the club's own account. Otherwise the message tells the family how they can pay (by card, or to the club), with the card link when the club takes cards.
  • Receipts are now counted per payment, not per bill. If a bill is paid, charged back (the bank takes the money back) and then paid again, the family gets a receipt for the new payment.
  • Owner SQL (optional, any time, no application dependency): automation-scheduled-runs-drain-indexes-01 adds two small indexes so the five-minute automations run stays quick as its list of queued and finished messages grows: one for messages waiting to be sent, one for messages being sent. Check before with supabase/_verify/automation-scheduled-runs-drain-indexes-preflight.sql (it also shows how big the table is) and after with -postflight.sql; apply outside a billing run, because new queued messages wait while the indexes are built. Clearing out old finished rows is on the backlog.
  • No other SQL and no new setting. Nothing sends unless a club publishes one of these automations and automation sending is switched on. Local work only; deployment remains pending.

Refunds a club makes in its own Stripe dashboard (test copies)

  • When a club refunds part or all of a card payment in its own Stripe dashboard, AllSorted records the refund on the bill, sends the family's Refund issued message once, and keeps the refund for Xero. This already worked with the two separate Stripe webhook endpoints (the addresses Stripe sends its messages to) used in production. Recording these refunds needs the SQL unit generic-invoice-refund-observation-01, and keeping each refund for Xero needs invoice-refund-records-01. Both are now part of this release's required SQL (applied before the new app is deployed, with a check before and after each), not held back until Xero is switched on: a refund made before then is kept, ready for Xero. The deploy's database check now refuses a database without them. Neither unit touches Xero.
  • A test copy that gets Stripe's messages through the Stripe command-line tool (stripe listen), which signs every message with one secret, now handles a club's messages the same way, as long as that one secret is in both STRIPE_WEBHOOK_SECRET and STRIPE_CONNECT_WEBHOOK_SECRET. Before, the club's refund messages failed and the bill never showed the refund, and its payment messages skipped some of the club's own checks. Messages stored before this change cannot be replayed: make a new test refund, which also records the earlier refunds on the same payment. See docs/ops/stripe-webhook-configuration-2026-09-10.md.
  • With two different secrets, as in production, nothing changes. No new SQL: the two refund units already existed; the new read-only check before generic-invoice-refund-observation-01 is supabase/_verify/generic-invoice-refund-observation-preflight.sql. Local work only; deployment remains pending.
  • A second refund on the same bill (for example staff refunding one class and later another, or two bookings on one event bill) now works with generic-invoice-refund-observation-01 applied. That unit makes AllSorted count every refund Stripe has on a payment before it records a new one, so no refund is ever counted twice, and without a count it stops a second refund. So AllSorted now reads the payment's refunds from Stripe first, both when staff refund and when the refund check (the job that finishes refunds left half-done) runs. Staff refunds work exactly as before. If Stripe cannot be read at that moment, the refund is kept for the refund check to finish, as a refund that cannot be finished already is. Before this, every second refund on a bill would have stopped part-way once the unit was applied.
  • The check before generic-invoice-refund-observation-01 now also makes sure the database's step that finishes a refund is the one the unit expects to replace (the one in production today, or the unit's own). If it is anything else, the check fails and says in plain words not to apply the unit and to ask for a review.

Card disputes and the member timeline

  • When a family disputes a card payment with their bank, staff now get an item to act on (from the payment problems AllSorted records), with the date by which the club must reply in Stripe. If the club doesn't reply in time, it loses the dispute automatically and pays a fee. The item clears when the dispute closes. A lost dispute opens its own item, because the bill is owed again. The family gets no automatic message about a dispute: staff handle it personally (owner decision). The Action Centre wording for these items (stripe_dispute_open, stripe_dispute_lost) arrives with the Action Centre work.
  • A failed card payment, and a dispute opening or closing, now show on the member's timeline. These entries never saved before because they were missing the club.
  • A dispute on a card payment that has no bill (a shop order, say) now still gives the club its staff item. On the club's own Stripe account the club is known from the account; for an older payment AllSorted took on the club's behalf, AllSorted asks Stripe which club's account the payment went to (and checks the payment was made for that same club). If Stripe cannot be asked at that moment, AllSorted asks Stripe to send the message again.
  • The member timeline entries for a dispute and for a failed card payment are now written last, after everything else the message changes. Before, if a later step failed and Stripe sent the message again, the member's timeline could show the same dispute or failure twice.
  • Production should never use one signing secret for both Stripe webhook endpoints (only a test copy using the Stripe command-line tool does). If it ever does, AllSorted still handles the messages, but reports it as an error (at most once an hour) and Admin Health's Stripe webhook check flags both feeds as needing attention. See docs/ops/stripe-webhook-configuration-2026-09-10.md.

Why a payment failed, in plain words

  • Payment failed messages now say why in plain words, such as "There wasn't enough money in the account." or "The card has expired.", instead of the payment company's own text (which could be technical, English-only or alarming, like "The customer's bank wasn't able to pay the Direct Debit…"). A lost, stolen or flagged card, and any vague refusal by the bank, only ever reads "Your card was declined." The older automation rules for failed payments and cancelled Direct Debits get the same plain words. Staff still see the payment company's own words on the member's timeline and in the payment records.

Invoice overdue reaches bills whose payment failed

  • The Invoice overdue automation now chases a bill whose Direct Debit failed or was cancelled, and a bill whose card payment failed. Before, any sign of a payment attempt on the bill stopped the chase for good, so exactly the families who most needed a reminder never got one. It still waits while money may still arrive: while a payment is being set up or collected, while GoCardless or the billing run has another try planned, or when the payment's state isn't known yet.
  • A card payment is only chased once AllSorted has a record that it failed: the card company told AllSorted it failed, or the billing run could not take the saved card and noted why on the bill. A card payment that went through a moment ago may not be recorded yet, so without a record of a failure the bill is left alone. This means a card payment a family started and then left unfinished is not chased, as before. A card payment that failed and was later paid, or that the family disputed with their bank, is not chased either.
  • A payment the bank took back (a Direct Debit chargeback, or a card dispute) is never chased automatically. Staff handle these personally, as the owner decided for billing messages.

Payment company messages that arrive again are no longer turned away

  • When Stripe or GoCardless sends AllSorted the same message again (for example because the first try failed), AllSorted could refuse it for good if Stripe had changed one small counter in it (how many other addresses were still waiting for the message). The message was then lost after Stripe's retries, and a message already dealt with was answered with an error instead of "already done". AllSorted now recognises a message by the parts that never change (for Stripe: its id, type, account and time; for GoCardless: its id, time, what it is about, what happened, its links and details). A genuinely different message under the same id is still refused.
  • Stripe event identity also tolerates a different API-version rendering of the payment object; account, event type, feed and creation time must still match. SMS and Telegram receipt authority is unchanged: signed SMS retry timestamps are headers outside the stored body, and Telegram repeats the same Update. Local route tests cover those supported retries; changing semantic message content under an existing id remains a conflict. Provider contracts: [SMS Gateway webhooks](https://docs.sms-gate.app/features/webhooks/) and [Telegram Bot API](https://core.telegram.org/bots/api#getting-updates).
  • Owner SQL, SQL-only and required before this release: check with supabase/_verify/webhook-claim-stable-identity-preflight.sql, apply supabase/_proposed/webhook-claim-stable-identity-01.sql, then check with -postflight.sql. The final deployment readiness probe now requires both corrected claim bodies exactly; the optional automation drain indexes remain independent.

Billing messages switched on for every club

  • Every club now gets the owner's list of family billing messages switched on, and nothing else, as normal automations on its Automations page: Payment will be tried again, Direct Debit could not be set up, Saved card expiring, Refund failed and Direct Debit moved to a new bank account, plus the three that must go with them: Stopped trying to take a payment, Payment sent back by the bank and Card payment needs confirming. A club can change the words of any of them, or turn any of them off. New clubs get them when they are created. For clubs that already exist, a super-admin switches them on from its own Admin Health page (linked from the Automations section: /admin/health/recommended-billing-messages), after a preview. The preview shows, for each club, which messages would be switched on, which are on already or kept as the club's own, and whether any family would get a message straight away: families with a saved card expiring this month or next, bills that used every try in the last three weeks, and Direct Debit failures waiting to be sent. Every club with something to switch on starts ticked; the super-admin unticks any club to leave out (for example one whose bills are still being checked), then confirms. Only the ticked clubs are switched on. It is safe to run again: it only adds what is missing, and a club that already has its own automation for a message keeps its own.
  • A club can no longer have two live automations for the same family billing message (for example two Refund failed automations, or two Payment failed ones), because each family would get the same message twice. Publishing one beside a live one is refused with the reason: archive the other one first, or change it instead. Switching the messages on also leaves a club's own automation for a message alone when it is a draft or switched off, not just when it is live, so publishing that draft later cannot make two.
  • Switching the messages on never deletes an automation that has gone live. If a slow run overlaps another (a run that has not finished after ten minutes is taken over), the slow one keeps anything it had already switched on: it records it when the message is still its own, and otherwise archives the spare copy (it stops, and its history is kept), so a club never has two. A draft left behind by a run that stopped part-way is cleared, and the message is switched on properly next time.
  • The other billing messages (New bill, Payment received, Payment failed, Direct Debit set up, Direct Debit cancelled, Refund issued and Invoice overdue) are not switched on by this. A club can still add them, switched off, from the starter templates, and Invoice overdue from the Outstanding invoice recipe. That recipe now only starts for bills 3 to 30 days overdue, so adding it never chases every old bill at once (staff can still chase older bills, or change the setting).
  • What the switched-on messages do. Each goes once, to the person who pays the family's bills, and is an essential message (families who said no to marketing emails still get it):
  • Payment sent back by the bank: a Direct Debit the club had already collected comes back, so the bill is unpaid again. It says the receipt no longer counts, why, and whether the club will try again, and when.
  • Payment will be tried again: a Direct Debit for a bill from the billing run fails, and the billing run will try again. It says why and when, and has no pay link, so the family is never asked to pay twice.
  • Stopped trying to take a payment ("We've stopped trying to take your payment"): the billing run has used every try. It says how many times the club tried, with the pay link while the bill can be paid by card. Staff also get an Action Centre item ("We've stopped trying to collect £X after N tries", which opens the family). The item clears once the bill is paid, closed or given more tries (checked every morning). A bill whose last try was more than three weeks ago gets the staff item only, never a family message out of the blue. If staff give a bill more tries and the billing run uses those up too, staff get a new item and the family a new message, even when the number of tries is the same as before (before, nothing happened the second time).
  • Card payment needs confirming: the family's bank asks them to confirm a payment from their saved card. The pay link lets them confirm and pay. For a card payment still attached to its bill, the pay link only works once the billing-decisions change that makes such a bill payable again is merged; until then the email offers the member portal.
  • Direct Debit could not be set up: a new Direct Debit fails before it ever worked. Before, the family was told their Direct Debit was "cancelled".
  • Direct Debit moved to a new bank account: the family switched bank and their Direct Debit moved with them. Nothing else changes.
  • Refund failed: a card refund, or a Direct Debit refund made in GoCardless, did not reach the family. It says the club will be in touch.
  • Saved card expiring: the card a family pays by expires at the end of this month or next. Checked every morning at 8.
  • There is no family message for a chargeback (the family asks their bank to take back a Direct Debit) or for a card dispute, at any stage. Payment sent back by the bank is only for a Direct Debit that failed after it was collected, never for a chargeback or a card payment, and a failure message that a chargeback has since overtaken is not sent. Staff handle chargebacks and disputes personally (Action Centre).
  • Refund failed goes to a family once per refund, however often Stripe or GoCardless sends the same news (for example when a later step fails and the payment company sends the event again, or GoCardless reports a refund as failed and then as sent back). A different refund of the same bill is its own message.
  • The staff item for a card refund that failed now names the bill's family, so its button opens the family instead of the arrears list (also for a refund made in the club's own Stripe dashboard). If the bill cannot be read at that moment, AllSorted asks Stripe to send the message again.
  • Payment failed is no longer sent for a Direct Debit on a bill from the billing run once the club has the new messages: that bill gets Payment will be tried again, Stopped trying to take a payment, or Payment sent back by the bank instead. Bills staff make, and earlier card-payment attempts, still get Payment failed. A saved card's final failed try gets only Stopped trying to take a payment when that message is live. Clubs that use Payment failed will see this change. The new messages stand aside for an older Payment failed or Direct Debit cancelled rule that is still switched on, so a family never gets both.
  • Until a club has the new messages switched on, nothing changes for its families: a Direct Debit that fails on a billing-run bill still gets the club's Payment failed (its automation, or its older rule), and so does a card payment the bank wants confirmed. So no family goes without a message after the release, and a family never gets both. Once a message is switched on for the club, it replaces Payment failed for that moment; if the club switches it off again, that moment gets Payment failed again.
  • All the wording is in one place, app/automations/lib/recommended-billing-messages.ts, for the owner to review on the rebuilt test copy. The starter template pack's billing drafts use the same words.
  • Every family payment message goes to the family's billing contact: the family's billing email, else its main contact, else the bill's own contact, else a family contact set to receive messages, and only then a member's own email (children often have none). When a family has no email address at all, the message is not silently skipped: it is recorded as "Not sent: … (no email address for this family)", which staff see on the member's timeline, in the club's delivery issues and as an Action Centre item, so they can add an address.
  • Retrying a failed message uses the same family-contact order as its first send. A missing-address record is only made after the club's older rules and published conditions have been checked, and reconsidering the same event keeps one record.
  • A planned Direct Debit retry now explains that it depends on the Direct Debit remaining active; cancelling it prevents another collection. Direct Debit cancelled remains the club's optional message, outside the owner's eight switched-on messages.
  • No SQL for the recommended messages. Nothing sends unless automation sending is switched on.
  • Refund observation SQL now checks the installed refund-finalizer source inside the installer too, so skipping its separate preflight cannot overwrite an unexpected authority. Remote application remains pending.

Combined payment and automation release

  • Collection-stop records and their approved family message are considered before the collection limit; exhausted bills still cannot crowd out a bill due for collection. Disputed and detached payments remain held before this step.
  • Refund accounting precedes family-message handoff. GoCardless uses one observer; both providers use the immutable refund ID for message deduplication. Failed Stripe refunds can return the bill to paid, and a lost-dispute payment is detached only after staff findings and history are recorded. Chargebacks and lost disputes remain staff-only.
  • SQL order is refund observation 01, refund records 01, refund observation 02, then dependent refund units and final release readiness. The observer's final source is 02; the finalizer's source guard remains in 01. Payout facts remain optional until Xero activation.
  • The later 27 September owner decision for renewal baskets remains authoritative: one built-in transactional family confirmation, with covered member messages tracked by the existing confirmation authority. The retired basket automation is not restored by the payment-message merge; see the contract in app/lib/portal-basket/settlement.ts and tests/automations/requirement-basket-event.test.ts.

Payment history inside each bill

  • Expanding a bill on a family's page now shows Payment history: stored collection attempts, payment-provider reports, refunds, credits, review items and billing-message records in date order. Amounts use the recorded currency and exact pence. Staff names are drawn only from the club, and provider links open the club's own dashboard.
  • A finished message queue or automation is described as processing completed. Only an actual email delivery record says sent or delivered. Stripe's cumulative refund observations are labelled as totals, separate from individual confirmed refunds. A later bank failure is described as a return only when an earlier receipt for that same payment is recorded.
  • This first view uses existing stored evidence. Older events, staff actions and messages can be absent; missing optional sources and bounded-history limits are shown. Provider errors, raw payloads, email bodies and recipient addresses stay out of the response. No payment-provider request is made.
  • Requires effective billing-state and invoice-view permissions; Cover staff cannot read it. Changing club, bill or permissions clears the displayed history. No SQL or new navigation destination. Payout observations remain optional until the existing Xero-activation payment-facts SQL is applied; missing payout fields are disclosed without blocking the bill’s core history. Other read errors fail closed. Family-wide and club-wide history remain separate future work.

Update — 2026-09-26

26-09-2026

26 September 2026

  • Security: invoice numbering (prefix and next number) can now be changed only by Allsorted's server, including the new owner-only prefix setting. Staff browsers can no longer change it directly. This was applied on 26 September. Issuing invoices is unaffected.
  • Security: enrolment invite details (codes, invited email addresses and notes) can no longer be read with the public app key. This database permission change was applied on 26 September. Families opening their invite link are unaffected, because the server looks the invite up.
  • Security: Telegram link codes can no longer be read with the public app key. This database permission change was applied on 26 September. Telegram linking and opt-out are unaffected, because they run through the server.
  • Fixed the enrolment-link request after a trial: the lookup now uses the booking timestamp supported by the database. No new SQL, setting or translation wording is required for this correction. Local work only; deployment remains pending.
  • Clarified the owner rollout order: all SQL units and access checks precede the deployment probe and deployment. Video Review immediate-billing SQL remains on hold for billing corrections. Added a read-only installed-function census; it does not enable the add-on or prove live payments.
  • Production SQL-readiness checks no longer require production credentials in preview builds. Production retains the mandatory check, with an owner-controlled emergency override restricted to the exact release contract hash and explicitly logged as a bypass. No environment setting or override has been enabled.
  • Trial rescheduling now gives a clear message when the database has an older authorization-mode check. Added a read-only diagnostic and a narrowly fingerprinted optional SQL correction; owner verification is required before applying it.
  • Legacy membership waiting lists remain readable when a household has no saved name. Staff see “Unnamed household”; existing member names, place counts and offer permissions are preserved.
  • Trial availability checks use the visible date-of-birth answer that the booking form submits, including forms with conditional or multiple birth-date questions.
  • Prepared SQL-first enrolment security updates: new invitations store a hash of the sign-up code in the invitation table while existing links keep working. Added permission and unused-invitation checks before any owner decision on rotation.
  • Production builds now check reviewed SQL definitions and enrolment permissions as well as the API schema. The new catalogue-check SQL must be installed last, after the release prerequisites; no production settings have changed.
  • Prepared Video Review billing corrections for separate first-charge invoices, monthly pro-rata and skipped non-billable periods. Paid access is preserved when collection setup changes. The leave-and-rejoin-between-runs edge case remains open; rollout remains on hold.
  • Recurring bills and their period receipts are now written together, so failed line writes remain retryable. Course-package dates advance only with a complete bill. Failed generation appears in Action Centre without implying money was collected. The new SQL and review of older receipts are required before rollout.
  • Book another child keeps the selected programme and class while clearing the previous participant’s details and consent.
  • Historical payment-cleanup provider failures no longer stop independent payments being checked. Retries are bounded, repeated missing-payment alerts are suppressed, and unresolved money findings remain open for review.
  • Operator handoffs use repository-relative instructions and local evidence labels, without machine-specific paths.
  • Phone numbers retain their reading order in right-to-left portal messages. Video-format guidance is translated in the seven newer language packs; all12 supported languages remain covered.
  • Pending SQL checks now fail for missing active-programme member-type defaults, exclude demo clubs from allowance rollout readiness, and acquire the strongest trial-person installation lock before the collision census. Owner SQL application remains pending.
  • Prepared trial-control corrections for owner SQL review: accented/apostrophe name variants use the same person limit; plus-tagged email addresses share the public abuse cap; staff bypasses of that cap are recorded. Retired trial entrypoints lose runtime execution and advisory errors use explicit input/permission codes. Final deployment readiness checks the composed functions and expression indexes. No live bookings, stored display names, notifications or production SQL were changed by this local work.
  • Membership waiting lists can offer each free place to an eligible member, counting outstanding offers against further offers. The staff list refreshes after creating an offer and shows its reply date. A pending SQL update expires unanswered dated offers after that day; replies already awaiting review stay available. Membership, billing and final capacity checks remain unchanged. This is local work awaiting owner SQL review and deployment.

Return and waiting-list error classification

A separate SQL correction classifies invalid return/list inputs and access denials consistently. Existing capacity conflicts and explicit missing-entry responses are retained. Owner applies membership-return-errors-07.sql after return-offers06, verifies its postflight, then installs the regenerated final readiness unit. No records are rewritten.

  • Kata release SQL admission now rejects remote-execution helpers, permission changes and session commands, including a PL/pgSQL label bypass, while retaining ordinary updates. A separate pending ledger-private02 SQL unit removes application service-role reads of release receipts; owner release operations and platform administration remain unchanged. Owner review/application is still required.
  • Staff membership summaries now explain why a return needs review, including an unanswered expired offer, changed agreement or an existing request. Unknown reasons retain the general review guidance. This uses the existing guarded read; portal wording and family notifications are unchanged.
  • CI now selects supplemental database rehearsals and browser checks for three reviewed UI files. Every code change still runs all seven test classes and the existing compiler, build, lint and scanner gates. Unknown, shared, SQL, tooling or unavailable change evidence runs all packs; manual and full release checks remain complete. Selected commands require matching execution receipts, so missing or failed work cannot produce a green aggregate. No CI-minute saving is claimed before measured runs.
  • The register's shared allowance warning names the member and says “shared membership allowance”, avoiding the impression that every agreement in the household shares one limit. Counting and attendance rules are unchanged.
  • Recurring membership displays can resolve validated price revisions at the service date and refresh at London midnight. Reports retain member counts without billing permission while hiding money fields. Missing optional schedule columns retain current catalogue prices. This prepares display reads only; dated price editing, billing writes and provider changes remain pending.
  • Limited weekly membership plans now require an explicit regular-class maximum when staff create or edit them. Partial edits preserve saved allowance fields, and unreadable plans cannot be saved. Monthly, unlimited and shared allowance calculations are unchanged. Existing active weekly plans with a blank maximum still require owner review: the new read-only count does not repair them or prove database-wide enforcement. No new installation SQL is included.
  • Migration rehearsal checks now follow the CI command registry to its exact required runner step, including the lane and selection condition. Missing commands, missing steps and suppressed failures still fail the checks.
  • The Tasks page now reports failed list reads instead of showing a false empty state. Failed refreshes keep previously loaded tasks with a warning, and Retry reloads the list without repeating a saved change.
  • Updated SQL-copy instructions in operator runbooks to use the active repository checkout. Current programme documents identify temporary evidence logs as local artifacts rather than repository files.
  • Billing now refuses a new charge if a staff edit changed its source agreement after calculation began. Scheduled changes use the returned adopted agreement, and anchor retries cannot overwrite later edits. A conflicting immediate upgrade asks staff to review its recorded adjustment. Requires reviewed atomic02 SQL before the matching app; full adjustment/adoption recovery remains a rollout hold.
  • Earlier billing periods recorded before the October billing update no longer stop billing indefinitely. A pending owner SQL step confirms the ones whose bill lines prove them; each remaining one pauses only that period (it is never charged again) and appears once in Action Centre as “An earlier bill needs a staff decision”. Staff with billing reconciliation access record what happened under Billing → Earlier bills to review — already billed, billed separately or not charged — and the decision is saved with their name and the time. No payment, refund or message is made. Later term instalments keep billing. Requires the pending atomic03 SQL and legacy adoption step; owner review remains.
  • An immediate plan upgrade now records its pro-rata adjustment and switches the plan together. If the membership changed, the plan is full or today's bill is already being collected, neither happens and staff see why; repeating the same request never charges twice. Requires the pending atomic04 SQL before the matching app.
  • Video Review add-ons now end from the date a member leaves, even if they rejoin before the next billing run. Nothing is billed for a period after the departure: an uncollected charge on an editable bill is cancelled with a credit line, and one already being collected is listed for staff review. Rejoining needs a new opt-in, and the gap is never billed. The paid offer stays off. Requires the pending Video departure07 SQL after prorata06; owner decisions on the leave-date rule remain.
  • A membership whose opening part-period bill falls on its first regular billing date now has both periods billed in the same run, so the regular period cannot be stranded behind a bill that collection has already started. Agreements already stuck this way, or where the second write fails in the same run, still appear in Action Centre for review.
  • Prepared one payment for several members' renewals on the portal renewals page (not yet available). When switched on, families see every member whose renewal is due, all ticked, with members due in a later month shown with the date they can be paid from, and pay the total once by card through Stripe. Prices are re-checked when paying and any change is shown for confirmation first. Each member's history shows the renewal as paid, the family sees one receipt listing every member and amount, and — once the club publishes an automation for the new "Family renewals payment received" trigger — gets one confirmation message for the whole payment instead of one per member (until then each member's usual message is sent, so nobody gets none or two). The new trigger is already listed in the automation builder; it only runs once family renewals payments are switched on for the club. If a member cannot be renewed when the payment arrives, for example because they left, that renewal is held and the family is told plainly that the club is checking it and not to pay again; it is never charged again for that period. Staff refund a held renewal in the Stripe dashboard and then mark it resolved under Settings → Payments → Family renewals payments with the Stripe refund reference; nothing is refunded automatically. The same card lets staff look up a family payment by its RNW reference and release a stuck unpaid one once Stripe confirms no money can move. Refunds and disputes of a family payment are recorded for review in the right club, and switching the feature off cancels unfinished family payments at Stripe before single payments reopen. Local work, off by default: it needs the reviewed portal-basket-01.sql unit applied by the owner, then the environment switch and the club setting.
  • Family renewals payments (still not available), after a second independent review: the family's one confirmation replaces a member's own renewal message only when it was actually sent to the household or is scheduled, so nobody gets none; if its outcome is unknown it is not re-sent and staff get a review item. Members' own renewal automations still run, skipping only the messages to the member, so staff tasks and alerts are unchanged. A family payment refunded or disputed before it was recorded is held and never recorded: staff release it once Stripe shows it refunded or lost in a dispute, or — when the club keeps the money — after recording each member's renewal the usual staff way. Stripe's receipt address now follows one shared email rule, a single renewal payment can no longer start while the same renewal is in a family payment, and a payment record this version can't read is held for staff instead of failing. Local work, off by default: the amended portal-basket-01.sql still needs owner application.
  • Family renewals payments (still not available), third review: staff can release a held family payment that the club kept only after recording each member's renewal. This also works when part of the payment was refunded in Stripe: staff tick the refunded renewals, and Allsorted checks the ticks against Stripe. A payment that is still being recorded is never released this way. A family message that is only scheduled, for example behind a wait, no longer replaces members' own messages. When a member's own message is covered, its owner notes are still sent. Erasing several members can no longer deadlock with a family payment. A refund or dispute after a staff release never re-holds the order. Local work, off by default; the amended portal-basket-01.sql still needs owner application.
  • Family renewals payments (still not available), fourth review. A refund that Stripe delivers late or repeats no longer marks kept renewals for review. Owner notes for covered rules follow the rule's own filters. A failed owner copy no longer holds a family payment's follow-up, and an owner copy is sent only if the automation step's conditions still hold just before it goes. Checkout and payment confirmation retry once when a member record is briefly busy. A staff release can no longer deadlock with a member erasure. The database check run before installing the basket now lists any prerequisite SQL still missing, in the order to apply it, instead of stopping with an error. Local work, off by default.
  • Family renewals payments (still not available), fifth review. A failed owner note for a member's older-style automation no longer holds a family payment's follow-up; the note's outcome is logged, and a missing Telegram setup is shown as skipped. Erasing a member while another member moves out of the household can no longer deadlock with a staff release. Local work, off by default.
  • Family renewals payments will be on for every club at release, with no pilot. Families can still pay each member's renewal on its own; the family payment is an extra option alongside it. One setting switches it off for every club at once, and a club can be switched off on its own in an emergency; unfinished family payments are then cancelled with Stripe and closed. Its database changes are now part of the release, and the release will not deploy without them. Staff in every club can handle held family payments. Local work: nothing is switched on yet.
  • Family renewals payments (still not available), owner decisions of 27 September. AllSorted now sends the family one combined confirmation email itself, for every club, with no setting or automation to set up: each member and what was renewed, with the amounts, the total, the date, the payment reference and a link to the renewals and receipt in the member portal. It goes through the club's usual email sender with the demo-club, bounce and unsubscribe rules, and a repeated payment notice never sends it twice. It is in English for now, because a family's portal language is not stored for emails. When it goes out, the members' own renewal-paid messages are not sent; when it cannot reach the family, they are; nothing is sent for a payment the club is still checking. The "Family renewals payment received" automation trigger has been removed. If the release switch were ever on before the basket's database changes are installed, family payments simply do not appear and every renewal keeps its own Pay button. AllSorted's platform admin can switch family payments off, or back on, for one club from the club's page, with a reason kept in the club's audit trail. The release checks now also compare the renewal-payment database functions already live with the reviewed versions, require Cover coach readiness after the basket is installed, include the staff payment-reference lookup, and add a read-only check that every other database function the app uses is installed. Local work: nothing is switched on yet.
  • Family renewals payments (still not available), review fixes. If the family's confirmation email can't be queued, or its first attempt is rejected, AllSorted now tries the same email again later (it can never be sent twice) instead of alerting staff; the members' own payment messages wait for the outcome and go out if the email finally fails. An email still undecided a day later becomes an item for staff. The check run before installing the basket now also finds a missing or changed renewal-payment database function, a changed security setting or permission, and a detached safety trigger. When family payments are off because their database changes are missing, the server log says so. Local work: nothing is switched on yet.
  • Family renewals payments (still not available), more review fixes. If a later check looks at the family's confirmation email while it is still being sent, it now waits for the result instead of asking staff to look. An email that was blocked for any reason now lets each member's own message go. If the family's email address disappears after their email was queued, AllSorted no longer sends the members' own messages as well. The check run just after installing the basket now shows its answer and its counts in one table, because the database editor only shows the last table. Local work: nothing is switched on yet.
  • Family renewals payments (still not available), small review fixes. The family's confirmation email and the receipt on the portal's renewals page now give the payment date in the club's own time (UK time), so a payment made just after midnight no longer shows the day before. If AllSorted checks on the family's email while a late attempt to send it is still going, it now waits for the result instead of asking staff to look. Local work: nothing is switched on yet.

Video Review add-on during a pause (owner decision 26 September)

  • A member's pause now suspends their Video Review add-on instead of leaving it running. While paused, nothing is charged and video access is paused, for paid and complimentary add-ons alike. When the member returns, the add-on restarts automatically with no new sign-up. Billing restarts from the return date, pro-rata, and the paused time is never charged later. A charge already written for a period that began during the pause is cancelled with a credit line if its bill is still open; otherwise it is listed for staff review and held back from collection. A complimentary grant with an end date keeps that date, and leaving while paused still ends the add-on. Membership pause rules are unchanged. This is part of the pending Video departure07 SQL.
  • Confirmed: a Video Review add-on ends on the date the leave is recorded. A charge already issued or being collected for a later period goes to staff review, never an automatic refund, while an uncollected charge on an open bill is still cancelled automatically. A stub bill stranded behind a bill that is already being collected stays a manual one-off invoice through the existing Action Centre item.
  • The Video Review card explains a paused add-on in all twelve portal languages: it is on hold while the member is paused and restarts automatically, billed from the return date. The eleven non-English messages are draft translations; no native-speaker review is recorded, as for the other portal copy.
  • A Video Review charge whose Direct Debit collection failed is no longer collected again automatically once the member has left or paused for that period. It goes to staff review and is never credited automatically. The retry is refused until staff resolve it. Part of the pending Video departure07 SQL.
  • The Video Review departure check now runs for clubs that have add-on records but never saved add-on settings, so complimentary grants there still end when a member leaves. It works through consents in stable pages, so consents waiting for staff review cannot hold up the ones after them. A reactivation followed by a new sign-up in the same step keeps the new add-on. Part of the pending Video departure07 SQL.
  • Earlier bills to review: a period whose bill already contains exactly its charges can now only be confirmed as billed. Recording it as billed separately would have charged the family twice, and waiving it would have been untrue. The database also refuses those decisions. The pending legacy-receipts SQL is hardened too: the decision table forces row-level security, a bill line with no quantity can never prove a period, the owner-only adoption skips demo clubs, and server code can only read proof for one club at a time.
  • Owner decision (26 September): decisions on earlier bills to review now need billing access that can adjust invoices. Both permissions still default to Admin and above, but a custom role that only records provider payments can no longer waive a period. The page lists the periods that hold billing soonest first. It explains that later bills for the same membership, package or requirement wait until a decision is made, and that billing then catches up one period per daily run. Each option's explanation is visible on the page. A decision is confirmed in the standard confirmation dialog, and only one decision can be in progress at a time.
  • An immediate plan upgrade is refused, with an explanation, when an earlier plan-change adjustment for the same membership was charged but the membership never moved to that plan. Upgrading again would have charged a second adjustment. Staff can check that bill and still schedule the change for the next billing date. A new read-only owner check counts the affected memberships before deployment (pending atomic04 SQL).
  • CI: the member-request correction rehearsal now installs the October billing and Video Review SQL (atomic billing 01–04 and Video 06/07) before its billing checks. It had been failing since before this work. Its expectations follow the October add-on rules: a new paid add-on starts with its first charge and gives access from that day.
  • Action Centre now says clearly when a bill is held back from collection because of a Video Review charge after a member left or during a pause. Admin Health explains the options. An unissued bill with no provider payment can be voided, and anything still owed rebilled with a one-off invoice; voiding does not re-open the membership period. An issued bill cannot be voided or edited and needs the club owner; a staff action for this is an open owner question.
  • Owner SQL check: the pending atomic03, atomic04 and Video departure07 postflights now also confirm that Cover coach assignment stays available (cover_ready must be true). Their one new club table already carries the required Cover boundary; the check stops the runbook if any table breaks it.
  • Note for staff: setting a member to Leaver, even briefly or by mistake, ends their Video Review add-on for good. Setting them back to active does not restore it; the family must sign up again. A warning in the status-change screens is proposed but not yet built.
  • Owner SQL, step 13: a new small unit gives the two GoCardless payment tables the Cover coach safety rule before the external GoCardless observations unit, and that unit now accepts the rule instead of refusing it. Before this correction, installing the GoCardless payment units after the Cover coach units switched Cover coach assignment off, and installing them before made step 13 refuse. A new read-only check shows which state production is in. No payment, permission or data changes.
  • CI: a new check stops any database change that adds a club table without the Cover coach safety rule, the mistake four workstreams made on 26 September. Tables that predate Cover coach are listed separately, and that list can only shrink.
  • Owner SQL checks for family renewals payments (27 September):
  • The morning Cover coach check now also lists the member renewals table that the family renewals payments setup needs, next to the payment tables it already watched.
  • The renewal notifications check now accepts the Cover coach safety rule on its table and still refuses anything else. Before, it failed once the rule had been added.
  • Owner SQL (independent, apply before March 2027): new monthly audit log partitions will now get the Cover coach safety rule automatically, and any existing partition without it is fixed. Before this, the first new month would have switched Cover coach assignment off. Audit logging itself is unchanged. The owner runbook also records that the monthly partition job cannot currently create new months, which needs an owner decision.
  • Security (owner applies before the release): four prepared database fixes remove staff browsers' direct access to tables the app's own screens never write. The urgent one stops a staff account moving itself into another club. The app keeps working through its server, and one grading-note screen is checked with a short smoke test afterwards. Nothing has been applied yet; the owner's checklist is at the top of the census report.

Xero integration (dark — not yet available)

Prepared the first phases of connecting Allsorted to Xero, where Allsorted produces the bills and Xero keeps the accounts. Nothing is switched on: it stays hidden until both the new XERO_INTEGRATION environment switch and a per-club setting are enabled, and the Xero app registration and two new SQL units (xero-connection-01, then xero-sync-02, each with its preflight and postflight) are in place.

  • When enabled, owners can connect a Xero organisation from Settings → Payment Connections, choose the organisation, check or disconnect the connection. Access is stored encrypted and renewed automatically.
  • Staff can match households to Xero contacts (exact, likely or no match), confirm each one, or create missing contacts in Xero.
  • Invoices can be sent to Xero as drafts or approved invoices, with configurable account codes, VAT rates, tracking by programme and branding theme. Changes are sent about a minute after they are made, so Xero never receives a half-finished invoice. Cancelling an invoice voids or deletes its Xero copy. Paid invoices, refunds and credit notes wait for the payments phase. Xero never emails families. Turning on approved invoices asks the owner to confirm Xero will not chase or collect them, because they stay open in Xero until payments are sent.
  • Invoices go to Xero with Allsorted's own invoice number by default, so Xero shows exactly the number the family sees. An invoice without a number waits: membership invoices from the billing run are not sent until billing issues them, and the settings and sync pages say so. Because Xero numbers its own invoices INV- and refuses duplicates, the owner first sets the club's own prefix (for example CW-) in the Xero settings; this applies to future invoices only and issued numbers never change.
  • A club that is not VAT registered sends every invoice line as No VAT and is never held up by tax settings. A VAT-registered club chooses a Xero tax rate for every VAT rate its invoices use before anything is sent, and is told which ones are missing.
  • Each kind of charge (membership, joining fee, late fee, grading, shop items and so on) can have its own Xero income account and tracking option, chosen from the lists read from Xero; the broader groups remain the fallback.
  • Turning on approved invoices now shows the owner a checklist to confirm first, including that GoCardless for Xero is disconnected or its automatic collection is off for that organisation.
  • A credit note issued on an invoice already in Xero is flagged for a person to record in Xero, until credit notes are sent in the payments phase.
  • Applying the Xero SQL keeps Cover coach assignments working: every new Xero table carries the Cover coach safety rule, and the installers refuse to finish if they would switch Cover off.
  • A Xero organisation can be connected to one club only, and connecting or disconnecting one club never removes another club's Xero access.
  • A Finance → Xero sync page (linked from Payment Options, not a new menu item) shows what was sent, what is waiting and what needs attention, with retry.
  • A read-only month comparison lists every household whose Allsorted bill differs from its Xero invoice, for the December check before switching.
  • Scheduled jobs for sending, token renewal and a nightly consistency check exist but are not scheduled. Handoff: docs/ops/xero-integration-2026-09-26.md. Local work only; nothing was sent to Xero, applied remotely or deployed.

Pausing members who share a family plan

  • Pausing every member of a family plan together now works: the plan is paused once and each member is paused, from the members list or from the household page. Before, both members were refused and left "already in progress" until the owner ran database repairs.
  • Pausing one member of a family plan that has no Allsorted Direct Debit changes only that member's status; the plan stays active for the others (and is still billed for them). With a Direct Debit, staff are told straight away to pause the whole family from the household page, before anything is started.
  • A pause that is refused can no longer leave the member blocked: nothing is held, and the next pause starts normally.
  • The household page's Pause/Resume plan confirmation offers "Also pause its N members" / "Also reactivate its N paused members", ticked by default. Reactivating one member of a paused family plan explains exactly where to resume it.
  • Pausing or reactivating a family plan's members from the household page now needs the same permission as changing a member's status. Staff who can manage plans but not member status can still pause or resume the plan itself; the members option is replaced by a note.
  • The household page never pauses a plan on its own while a pause of one of its members is still open, whether or not "Also pause its members" is ticked. A pause still in progress asks staff to wait a minute; a stuck one names the member and says the club owner can use "Clear stuck pause" on their profile. Nothing changes in either case.
  • Resuming a family plan and reactivating its members first checks that every member's classes have room for them all. If a class is full, nothing changes and staff are told which class. If one member still cannot return afterwards, only that member stays paused (with their own plan); the family plan stays active for the others instead of being paused again.
  • It also checks each member's membership plan first: if a member's plan is full, that member stays paused with the usual membership request for the household, and the plan and the other members are not changed. When a member cannot return after the plan resumed, only their own plans that this resume actually restarted are paused again; a plan that was already active is left alone.
  • A member whose own plan is paid by card no longer has that plan paused (and card billing stopped) when their reactivation is refused, for example because a class is full. If one of a member's own plans cannot be resumed, any of their plans already resumed in that attempt are paused again, so billing never restarts for a member who stays paused.
  • When a member's plan is full, the household resume message now says how to go on: resume the plan on its own, then reactivate the other members from their profiles. If the check cannot finish, it says which members already got a membership request.
  • Club owners see "Clear stuck pause" on a member's profile when an earlier pause stopped part-way. It asks what happened and, unless Allsorted can prove GoCardless was never contacted, for confirmation that GoCardless was checked; it never pauses or restarts billing itself. A pause with no record either way is treated as unknown, not as proof.
  • The permissions reference lists the new owner-only "Clear stuck pauses" permission (it cannot be given to other roles), and its capability counts are brought up to date.
  • When Allsorted only recorded that a GoCardless call was starting, "Clear stuck pause" now says the pause may have reached GoCardless (check GoCardless before clearing), instead of saying billing records show it did.
  • Retrying a pause after GoCardless already paused the Direct Debit (but the save in Allsorted failed) no longer gives the pause up: Allsorted records that billing started before it contacts GoCardless, so the retry finishes the same pause instead of telling staff nothing changed.
  • During the switch to this release, a pause retried by the previous version of the app is recorded as possibly having reached GoCardless, so the new version never gives it up. Deploy the app straight after the database update, as planned.
  • The members list shows each selected member's result in plain words after a bulk status change.
  • The new pause release record keeps Cover coach readiness: like every club table it carries the Cover coach boundary, and the database update refuses to finish if Cover coaches would stop being assignable.
  • Requires the new student-pause-saga-release-01.sql (with its pre/postflight) before the matching app deployment. Local work only; nothing applied or deployed.

Lists no longer stick on "Loading..."

  • The members list (and every other staff screen using the shared data cache) no longer gets stuck on "Loading..." after returning to the tab or after the five-minute background permission check. Clearing the cache now tells each open list to fetch again and discards any read that was still in flight.
  • Returning to a tab no longer clears cached lists or unsent offline saves (for example assessment comments waiting for Wi-Fi). Signing out, switching club or another person signing in still clears everything, including unsent saves.
  • The background permission check refreshes quietly and only clears cached data when your role, club access or modules actually changed. No new SQL or setting is required.
  • It also notices when an owner changes someone's individual permissions (custom roles pilot) or safeguarding-lead setting: that person's open pages refresh their cached data at the next background check instead of keeping out-of-date buttons. The server always re-checks every action either way.

Approve all ready responses for a household

  • In Member requests, each household's review now has Approve all ready. It shows every member's current and requested plan, classes, their own start date and the live price, plus anything not ready and why (for example a class that is now full). Staff confirm once.
  • Each member is still approved through the same checks as their own card, one after another, so a sibling taking the last place is reported for that member while the others go ahead. Member details are included only for staff who can see medical details and edit profiles; otherwise they are left with a note. Per-member approval is unchanged. No new SQL.
  • Approve all ready decides each member's membership before their classes (and shows them in that order), so a class change that depends on the new plan is not checked against the old one.

One email per family for member requests

  • When a household answers for several members at once, the family now gets one email and one portal message listing each member's membership and classes, with the household details response included. Before, every member's membership, classes and details response each sent its own email.
  • A member's membership and classes approved together (or rejected with one reason) send one message per member. Overdue reminders go once per family and list what is still outstanding.
  • This uses each club's existing published member-request automations; nothing new needs publishing. If a club's template does not show the new Household summary merge tag, the list is added after the club's own text. The starter templates now include it.
  • Staff notifications, tasks and the household Telegram summary are unchanged. Responses covered by the family email are recorded as covered, never silently dropped. If no family message goes out (for example no automation matches), each response is sent as before.
  • Choices and a household details response made in the same sitting are held for up to ten minutes so they arrive together.
  • If the family email goes out but a later staff step of that automation fails, the other responses are marked as covered straight away and the staff step is retried on its own. The family can no longer receive a second family email after repeated staff-step failures.
  • If a club's member-request automation waits before its email, the family email is not treated as sent until it actually goes out, so the other responses are sent as before instead of being left without any email if the delayed one is skipped.
  • Very large households (over a thousand request events) are read in full before a family email is planned, so a response already sent on its own can never be sent again inside a family email.
  • Now shared with family renewals payments (27 September), the family email counts as sent only on proof. A repeat of a message that was held back (for example while live sending was off) no longer counts. An automation that enrols a flow counts only when the flow sent the email itself. A member Telegram step covered by the family email still sends its owner copy, after the same checks as other staff steps.
  • No new SQL, flag or setting. Local work only; nothing deployed.

Leaver warning for Video Review

  • Marking a member as a leaver now warns when they have a live Video Review add-on (paid or complimentary, pending, active or cancelling): “Marking [name] as a leaver ends their Video Review add-on. If they come back later, the family will need to sign up to it again.” It appears inside the existing confirmation on the member's page, the members-list bulk status change (naming only the affected members) and the scheduled status-change form. It informs and never adds a step.
  • If the add-on state cannot be checked, a neutral note says marking a leaver ends any Video Review add-on. The check is a new read-only staff route using the same permission as marking a leaver; it returns only whether each member in the club has a live add-on. No new SQL. Local work only.

Xero payments (dark — not yet available)

Started the payments phase of the Xero work: Allsorted stays the billing system and Xero is told what happened to the money. Nothing is switched on, and nothing reaches Xero, GoCardless or Stripe from this work. Progress and owner questions: docs/ops/xero-payments-progress.md.

  • New owner-only setting in the Xero settings (Settings → Payment Connections → Accounts), off by default: issue membership invoices when they are collected. When on, a membership invoice from the billing run is issued — numbered and frozen by the existing invoice issue authority — at the moment its Direct Debit or saved-card payment is requested, or when a family opens it to pay, never earlier. Issuing never changes the amount. If an invoice cannot be issued (usually because the club's postal address in Settings → Invoices & VAT, or the family's address, is missing), it was at first not collected; since 27 September it is collected anyway and the Xero sync page lists it. Other invoices are unaffected. With the setting off, billing and collection behave exactly as before. The setting is only visible once Xero is enabled for the club.
  • Prepared three additive SQL units that record what happened to the money, as Xero will need it (pending owner review; not applied anywhere): the GoCardless charge date and payout of each payment; one record per payment applied to an invoice and per reversal (collection, GoCardless confirmations and chargebacks, manual mark-paid and reversal, event bookings, enrolment payments, lost card disputes, and invoices paid before this existed); and one record per refund with Stripe's refund id, including refunds made in the Stripe dashboard. They only record: billing, collection, refunds and webhooks behave exactly as before, and a failure to record never stops a payment (recording waits at most a tenth of a second, then skips with a warning; see 27 September). Owner apply order and evidence: docs/ops/xero-payments-progress.md.
  • GoCardless payouts in Xero (built, dark, not scheduled): a new Payouts view on the Xero sync page lists each paid GoCardless payout Allsorted posted, is waiting on, or could not explain — item by item in plain words — with Try again and Handled in Xero (asks first, records who). A payout is posted only when every item in it is money Allsorted already sent to Xero: a bank transfer from the GoCardless clearing account to the bank for the payout amount, and one spend money entry for its fees (by fee type, with the VAT GoCardless reported for a VAT-registered club; No VAT otherwise). Anything else — a payment collected by another app or in the GoCardless dashboard, a GoCardless refund Allsorted has no record of, an unknown item — posts nothing and becomes a finding. A payout waits while one of Allsorted's own payments has not reached Xero yet, and becomes a finding after three days. GoCardless is only read; nothing is collected or refunded.
  • New owner-only Payments and payouts in Xero settings under the Xero settings, off by default: send payments to Xero (only while invoices are sent approved), the bank account payouts arrive in, and for GoCardless the clearing account, fee account, fee VAT rate (VAT-registered clubs only), supplier contact and who posts its payouts — nobody (default), another app such as GoCardless for Xero, or Allsorted. Choosing Allsorted asks the owner to confirm GoCardless for Xero no longer posts payouts, and Allsorted refuses to post payouts until payments are sent too. Accounts and contacts are read live from Xero.
  • Prepared two more additive SQL units (pending owner review; not applied anywhere): xero-payments-03 (payment settings and the map of Xero payments Allsorted will post) and xero-payouts-04 (the payout ledger and its posting queue). Neither touches a billing table. The payout job (/api/cron/xero-payouts) is deliberately not scheduled.
  • Payments in Xero (built, dark): with Send payments to Xero on (approved invoices only), every payment Allsorted records on an invoice reaches Xero as a payment on that invoice — Direct Debit into the GoCardless clearing account on the charge date, card payments into the Stripe clearing account, payments staff record by hand into the account chosen for them (never guessed: an invoice waits, with a plain reason, until one is chosen). A chargeback or failed payment removes exactly the payment Allsorted sent; a reinstated payment is sent again, dated when it was reinstated. Allsorted never sends a payment twice (a payment Xero received but did not confirm is recognised and kept), never removes one it did not send, and never changes a Xero invoice that holds payments. Any payment in Xero that Allsorted did not send — for example a second collection by another app — stops that invoice for a person on the Xero sync status page. Paid invoices held back before now go to Xero as soon as sending payments is turned on. Payouts are explained by these payments, including a payment paid out and charged back in the same payout.
  • The nightly Xero check (not scheduled yet) also compares each invoice's payments in Xero with the ones Allsorted sent, and flags any difference.
  • Credit notes and refunds in Xero (built, dark): while payments are sent, a credit note issued in Allsorted reaches Xero as an approved credit note with the same lines, coded like the invoice lines it credits, and is allocated to its invoice — so a family paying the reduced amount leaves the Xero invoice paid. A card refund reaches Xero as a credit note paid out from the Stripe clearing account (the invoice keeps its payment). Nothing is sent twice; a credit on an invoice already paid in full with no refund, a VAT-registered club's refund without an Allsorted credit note, and anything Xero refuses are listed for a person. Credit notes keep their Allsorted number in Xero unless the club's credit note prefix is Xero's own CN-, in which case Xero numbers them and the Allsorted number is the reference. One more additive SQL unit, xero-credit-notes-05 (pending owner review; not applied anywhere).
  • Xero asks the owner to allow payments and bank transactions only once the club sends payments or lets Allsorted post payouts ("Reconnect Xero" appears in the payment settings); until then nothing is sent and invoices sync as before.

Safer billing retries, automations and portal displays

25-09-2026
  • Phone numbers, email addresses, references and prices stay readable in Arabic, Persian and Urdu. Direction arrows and small labels also fit those languages better.
  • Old portal emails without a supported translation source no longer show a Translate button. All 12 portal languages remain available, with release approval recorded separately from native-speaker review.
  • Busy automation queues give each club a turn while keeping the existing per-club limit.
  • Translation consent is saved with a durable record of who changed it and which notice they accepted. Direct browser changes to club settings are blocked. Apply club-settings-consent-01.sql and verify its postflight before deploying the updated app. Missing SQL makes consent saves fail safely; existing consent is unchanged.
  • Project Kata's local release tools now support an observed database baseline, tracked function removal/recreation, permission fingerprints and PostgreSQL version checks. SQL feature-flag readers are included in the register check. The ledger is not installed in production; baseline adoption and the managed release pilot remain pending.
  • A busy household no longer blocks other households' scheduled membership changes. Temporary failures keep the request and billing hold for retry. A cancelled database statement stops further changes in that pass; the next run can retry safely. Apply and verify member-request-billing-transients-18.sql after correction17; it works with the existing app.
  • Repeated skipped recipe automations store one matching audit per day. Conditions are still checked, so a request can run later when it qualifies. Existing audit history stays intact.
  • Attendance automations save progress through large member lists. Each pass reads a small indexed page and resumes safely. Apply and verify automation-attendance-source-cursor-01.sql before deploying the app. Existing per-run limits and schedules remain unchanged; this does not promise immediate delivery for large matching groups.
  • Memberships now state whether lesson allowances belong to each member or the household. Separate member counters keep their own rollover, while existing shared counters and history stay intact. Weekly regular-class choices use their own setting, separately from attendance-period limits.
  • Shared class requests show the combined household total, including unchanged siblings. Scheduled sibling changes apply together; a failed change leaves the whole household for review or retry.
  • Staff profiles show current memberships, allowances, full class times, planned changes and, for staff with billing permission, a masked payment method together. Programme-change warnings also use the club’s member and level wording. Saved blocked returns refresh the profile and keep the member paused while a choice or staff review is needed.
  • The portal shows confirmed household prices, family savings, extras and future totals. Complete prices collected outside Allsorted are shown as “Collected by your club”; incomplete prices stay hidden. New member-facing wording is available in all portal languages.
  • Routine email translation records available template/automation lineage without message contents. Event-booking links remain inside the portal. Automation previews explain when a small sample may have missed matching members.
  • CI keeps its full checks for code, database, security and unknown changes. Narrowly classified prose-only PRs skip the heavy jobs; the required aggregate still verifies the intended skips. Membership browser, allowance and simulated billing checks join the normal commands.
  • Paused members whose plan is full can choose an alternative or wait for staff review. Each waiting member has their own place and join time. Staff can offer one free place to the first eligible member. Offers do not reserve places or resume provider billing. Approved choices remain visible with their service date.
  • Enrolment checks regular-class allowances before payment and again when saving. A paid capacity conflict asks staff to resolve the place and lets the same payment be retried; it does not ask the family to pay twice or promise automatic completion.
  • Replacing a household request now saves its audit receipt in the same transaction. A failed or missing receipt cannot be reported as a new successful replacement.
  • Replaying an unchanged syllabus save after a club closure is added for that date returns the saved result. New edits remain blocked; sealed or archived registers still refuse replay.

SQL before app: use the ordered owner runbook: consent01/cursor01, billing transient18, allowance scope01 → explicit plan configuration01a and rollout readiness → roster02 → group03, corrected return-wait04, syllabus replay03, enrolment05 and audit19, with their prerequisite checks. If return-wait04 is missing, ordinary active families retain access through the existing credential check plus a fresh active/new household-member check; paused-return access and the new waiting-list tools remain unavailable. Unexpected database errors still fail closed. Its corrected Cover predicate preserves the private-table security checks. Household/Mixed plans stay shared until explicitly changed; Individual limited plans convert to per-member counters. Confirm the intended model before scope01. Roster02 now repeats mandatory all-club readiness under bounded write locks; use matching current/future change dates and owner-reviewed shared exceptions in the readiness, preflight and installation blocks. Pilot switches remain off; the October pilot runbook is preparation, not activation evidence. The Kata ledger bootstrap is separate from this additive release.

No environment switches, club flags, messages or payments are changed by this release work. The earlier committed checkpoint passed its local release check. The committed follow-up checkpoint passed its full local release gate. The additional night-review corrections pass local tests, browsers, scanners, lint and a separately completed build with CI’s stand-in variables; current PR CI, owner-run production SQL and deployed checks remain required before release approval.

  • Staff need effective billing access to see payment details or personalised prices, including the older profile fields. A redacted price never becomes a £0 offer.
  • The shared GoCardless account setting defaults off. When the owner enables it after deployment, only payments with Allsorted club metadata, a local subscription or an existing invoice pointer enter billing reconciliation. A linked mandate alone is not ownership. External payments create no invoice or payment notification. Their observations recheck after one day and seven days, then park; later local adoption or provider events can wake them, once the new observation SQL is applied.
  • Nightly reconciliation excludes proven external payments from new mismatch alerts. It checks older unlinked-payment findings against the provider before resolving them with a recorded reason; conflicts and uncertain checks remain visible. Historic cleanup follows current payment discovery so old problems cannot block new payments. No account setting is enabled by this release work.
  • Trial booking forms keep answers and the current question during email-limit checks. Failed checks show an unavailable notice; old email results cannot change the current form. Next no longer submits early. Trial limits now count each person under the booking email, using their name and date of birth when available. Siblings can share an email. Answers survive a reload in the same tab for up to30 minutes after the last edit; a fresh booking starts empty. Apply and verify trial-person-limits-01.sql before deploying the v6 booking/reschedule app. Missing SQL fails safely; no history is rewritten.
  • Telegram opt-out links first show the club and ask for confirmation. Opening or refreshing a link no longer changes the member's preference.
  • Staff review billing-mode and feature changes before saving. Cancel leaves the current setting unchanged; failed saves remain available to retry.
  • Tasks support full-name member searches, prevent duplicate saves/status changes, and confirm deletion on desktop and mobile.
  • Historical GoCardless findings with older labels can now be resolved when fresh provider and club-ownership checks prove the payment belongs outside Allsorted. Changed or uncertain findings remain open. The subsequent explicit owner census returned zero open findings; the earlier 'success, no rows' response was inconclusive. No live provider verification is claimed.
  • The unpublished return-wait SQL now lets an approved manual return finish after its original requesting staff member leaves. New requests or changes to recorded authorship still require current club access. Use the corrected unit04 and matching pre/postflight files.

These follow-up changes passed their combined local release gate; current CI and owner-run SQL checks remain pending. Nothing is enabled or sent by this development work.

  • Scheduled reports retain the editor after failed or unconfirmed saves, allow a safe retry, and prevent duplicate save, enable/disable and test-send clicks. Enter submits the report form through the same guard.
  • Suspended accounts show billing-link failures with retry and support options. Enrolment completion allows normal Back navigation and explains that the tab can be closed.
  • The public status page distinguishes an unavailable check from a confirmed outage and is linked from the website footer. Marketing copy consistently uses Allsorted.
  • Grading promotion, demotion and undo share one busy guard on mobile and desktop. Members can filter unread SMS replies; unavailable counts are not presented as an empty inbox. Setup links now target the current settings/import pages.
  • Video Review add-ons prepare the first pro-rata bill at activation and wake the established collection process after confirmed enrollment/request saves. Scheduled future starts remain scheduled; unconfirmed collection does not undo a completed save. Requires reviewed video-review-addon-prorata-06.sql before app release; flags remain unchanged and real bank collection is not locally proved.
  • Owner supplied the explicit read-only GoCardless census: zero open findings, with no groups. This records the current backlog only; new SQL/provider behavior still needs its own rollout checks.
  • Shared-account external GoCardless observations now use bounded day1/day7 rechecks, then park. A local invoice/subscription adoption wakes them transactionally. Requires gocardless-external-observations-01.sql before this app revision; use its catalogue postflight after installation. Active shared-account adoption uses READ COMMITTED (normal PostgREST); unsupported custom isolation fails closed. No flags are enabled by this change.
  • Add Member now uses the programme's active configured member type or the explicit club default. Missing configuration is refused before preparing payment; existing-member reuse and completed replay retain their assigned types. Requires member-type-directory-cover-readiness-02.sql then enrollment-member-type-default-01.sql after their reviewed prerequisites, with pre/postflight for each. A configuration change after payment can still require staff recovery; the UI must not ask the family to pay again.
  • Birthday trigger automations, including existing published ones, skip leavers unless a successful entry-condition branch explicitly selects them. Paused members remain eligible. Birthday waits, retries and the final provider guard recheck current status; unavailable status is retryable. Child flows retain their own published rules. No SQL or flag change is needed.
  • Families with both club-collected and Allsorted-collected memberships can see the Allsorted payment date, masked method and next unpaid invoice in a labelled section. Complete external prices remain visible; incomplete pricing is still withheld. Staff profiles say “Billed outside Allsorted”.
  • Switching bank accounts confirms the old mandate has ended before waking Video Review collection. An unconfirmed cancellation remains retryable; an exact replay resumes recovery without repeating terminal alerts.
  • New database rehearsals run only in their assigned CI shard, avoiding accidental repetition in every database job.
  • Portal lesson usage and membership-model checks now follow the club calendar date at summer midnight, avoiding the previous day's allowance period.
  • An optional membership-return panel stays hidden before its SQL is installed; genuine read failures retain visible retry feedback.
  • Enrolling or inviting without payment now requires the effective deferred-payment permission (Owner/Admin by default). Custom grants and denials apply to renewal and unfinished enrollment too; real free pay-now enrollment remains available. The SQL-first enrollment credential authority correction removes direct browser token access before app deployment. It creates no charges or messages and introduces no flag.
  • Public trial bookings keep each person's limit and add a shared-email abuse ceiling of 20 new bookings per club in a rolling 30 days. Retries and reschedules do not use new slots. The new trial SQL must be installed and verified before deploying its app changes.
  • GoCardless cleanup pages through historical findings and skips non-payment identifiers and individually missing payments. Real provider failures remain visible.
  • Optional Video Review billing failures no longer cause a successfully saved mandate activation to be redelivered. Missing add-on schema is reported, and durable pending billing remains available for recovery.
  • Old waiting lists stay readable during the database rollout. Staff and families see their existing household entries until per-member queue support is installed.
  • Member-type readiness now refuses missing programme defaults. Prepared enrollment audit events follow a fresh permission check. Billing-run results include the number of selected invoices below the collection minimum.
  • Vercel builds now stop if the release's required SQL API functions or columns are missing. Owner-run definition and permission postflights remain required. The initial combined release command stopped on missing local build variables; the configured build passed separately. Current CI and owner SQL evidence are still required.
  • Trial drafts discard expired and old stored answers when the page opens. Medical and custom answers stay in memory; contact details, dates and selections can still be recovered during the short draft window. Families can start a fresh booking with “Book another child”.