Skip to main content
Version: v1 (Current)

Orders, refunds, receipts and sales

Use Project → Commerce → Orders to inspect purchases and perform authorized organizer actions. Use Sales for ledger-based item/day reporting. This guide follows platform commit 7d7becc8f4317fe5949ff9f8b5ed97535c318b79 (PR #4490); confirm the feature is deployed before relying on these controls.

Complete payment/project setup, catalog configuration and the relevant attendee checkout acceptance first. The actions here can issue credentials, contact Stripe, change stock, send email or queue exports. They are durable operations, including in test mode. This review did not run them against a platform environment.

Permissions and project scope​

ActionReviewed permission mapping
View Orders/detail, Sales or request Sales exportview_orders
Issue complimentary orders, cancel unpaid orders, resend receiptsmanage_orders
Full or selected-unit refundrefund_orders, checked independently

To use the detail-page actions, organizers also need view_orders to open the order; the mutation permission is checked separately by its endpoint. Configure roles through roles and permissions. Here, commerce/billing owner means the person your organization authorizes to approve purchases, refunds and reconciliation; assign that responsibility before launch. Payment-account or catalog management does not substitute for order/refund permission. Member actions also check that the order belongs to the selected project. The complimentary attendee must exist in this project. Verify allowed and denied actions in the deployed dashboard; navigation visibility alone does not establish enforcement.

Find and understand an order​

Orders offers Search, Status, Channel, From and Filter. Search matches buyer name/email or an order UUID prefix. The grid has 25 rows per page. Draft shop carts and explicitly marked test-charge orders are excluded. The From filter uses an inclusive created_at >= boundary with the supplied date; this query does not explicitly convert that date to the project timezone. Confirm the server/database interpretation when boundary timing matters. It uses order creation time; it is different from the Sales report's payment-day range. Do not assume filtering the grid changes the summary cards: the controller computes those separately for the project.

Open an order to inspect:

  • Full UUID/context, buyer, channel, order state, paid timestamp and pending hold deadline.
  • Items with quantities, completed refunded quantity, pickup quantity and associated credential counts.
  • Payments with status, amount, provider PaymentIntent reference and any failure message.
  • Refunds with each refund's amount, state, reason and failure reason.
  • Money ledger rows, Collected, platform fees and Net to organizer.

A paid timestamp does not prove fulfillment. An order can fail fulfillment after payment; inspect the explicit state, any Fulfillment failed callout and actual grants/credentials. See checkout status interpretation.

The Orders summary Net is gross order totals minus stored refunded amount for selected paid/fulfilled/refunded states; it does not subtract platform fees. Its Paid orders count includes those states and may include zero-total fulfilled orders. Order-detail Collected is the organizer ledger balance; Net to organizer subtracts platform-beneficiary fee rows. For example, a USD organizer charge of 10,000 minor units ($100), a 2,000-unit partial refund ($20) and a retained 500-unit platform fee ($5) yield Collected $80 and Net to organizer $75. This example excludes other adjustments and is not a bank reconciliation. Neither display proves a bank payout or provider settlement. Preserve the full UUID when investigating; the short displayed reference alone is not a unique reconciliation guarantee.

Review purchases from an attendee or registration​

This section follows develop commit 25e1564, reviewed on 2026-10-19. Confirm deployed availability; the earlier order/refund workflow descriptions retain their 7d7becc baseline.

Open the selected project's attendee and its Orders tab to inspect that attendee's registration, shop and complimentary purchases. The endpoint requires view_orders through the order-view policy and rejects an attendee belonging to another project. Access to an attendee profile alone does not establish permission to view purchase information.

The tab shows reference, date, channel, items, total and status. It can also show card brand/last digits, complimentary markers, refunded quantities and retail pickup progress. Open the order reference for the full order and authorized actions. A pickup counter or visible card summary does not prove the payment settled, all credentials were issued or every entitlement remains valid.

The list is newest-first by order ID and limited to 100 matching orders. It includes pending-payment, paid, fulfilled, partially refunded, refunded and failed-fulfillment orders; this admin view additionally includes refund_failed. It does not list every draft, expired or canceled cart. Unlike the main Orders grid and Sales query, this shared attendee query has no explicit marked-test-charge exclusion; do not assume the three views filter diagnostic orders identically. Empty results mean no orders matching this query, not proof the attendee never attempted a purchase.

CardWhat this endpoint calculates
OrdersCount of the returned, capped list
PaidOriginal order totals for returned orders with a non-null paid_at
RefundedStored refunded amounts across the returned list

Paid does not subtract refunds or platform fees and is not the money-ledger net. The displayed currency comes from the first returned order; there is no conversion or separate per-currency aggregation here. Use the Sales report and the commerce owner's reconciliation process for financial reporting, especially with historical mixed currencies or more than 100 orders.

If the tab says You don't have permission to view orders, check order-view access and the project. Other load errors are not an empty purchase history; preserve the selected attendee/project and retry only after checking the session or service failure. The tab loads its data on mounting, so revisit/reload after a refund or pickup before interpreting an older display.

For a registration form with a Tickets element, registration logs can show a Tickets column with purchased names/quantities, refunded quantities, order reference, original total and status. The column is not sortable or filterable in this definition; a response without a linked order shows a dash. Use the underlying order to resolve uncertainty. Form-response success, ticket display and completed order fulfillment remain separate checks.

The develop Commerce header offers Orders, Sales, Tickets & Products and Settings without requiring the optional header-menu feature. Order-view permission exposes Orders/Sales; commerce-view permission governs catalog/settings tabs. A missing tab can reflect permissions, and a visible tab does not substitute for endpoint authorization.

Refund a paid purchase​

Confirm the buyer/order, refund authorization and intended units before submitting. Refunds use the payment's stored charge strategy, rather than whichever payment account is now the team's default. The service requires captured/succeeded payment money. Free or complimentary orders with no captured amount cannot be refunded through this money-refund path; stop and ask the owner to establish a supported entitlement-cancellation procedure instead of charging/refunding to remove access. This reviewed Commerce UI does not provide a verified general free/comp revocation workflow; access removal remains an acceptance gap.

Full remaining refund​

Choose Refund {amount}, review the confirmation and choose Refund. The service calculates remaining refundable money and unrefunded line units; it is not necessarily the original total after earlier refunds. Pending and succeeded refund amounts are already committed and reduce the remaining amount.

Selected units​

Enter Refund qty for intended lines, then Refund selected ({amount}) and confirm Refund. The browser submits booking-line IDs and positive quantities, not a trusted custom money total. The server verifies each line belongs to this order and calculates the amount from stored unit prices. The request supports an optional reason up to 500 characters, but this reviewed detail UI does not expose a reason input.

The UI quantity maximum subtracts completed refunded units. The service additionally subtracts units reserved by pending refunds, so a quantity still offered in the browser may be refused. Reload and inspect existing refund records; do not create another refund just to clear a validation error. A full or line refund must be positive and no greater than remaining refundable captured money.

Verify the outcome​

The UI's Refund issued. toast means its request callback succeeded; it is not evidence a pending refund settled. Reopen the order and inspect the specific refund record/provider state. Only confirmation that persists the refund record as succeeded books the refund ledger and its line effects. Failed or canceled provider refunds are marked failed and can put the order into refund_failed; preserve the error/reference for the commerce owner before retrying.

For confirmed refunds with line quantities, the service releases those units, voids up to that many line credentials (newest first), increments refunded quantity and marks a fully refunded line refunded. It also calls session-ticket refund handling. The attendee record is retained. The reviewed refund path does not reverse previously granted group membership or attendee-type changes. Do not assume refunding restores every pre-purchase entitlement; verify actual access, groups, session enrollment and pickup behavior separately.

A refund started directly in Stripe can be adopted into the GxP money ledger with no line quantity mapping. Its monetary confirmation therefore does not automatically establish inventory release or credential revocation. Have the owner reconcile monetary and unit/access effects separately. Do not issue a second refund to repair an entitlement mismatch.

The current fee-return condition checks whether one refund amount equals the succeeded payment's full amount. Partial refunds retain the application fee under this condition; a final remaining refund after an earlier partial is not necessarily treated as an original full-amount refund. Confirm approved fee terms and provider results with the billing owner; this source rule is not a promise of fee reimbursement or a bank credit schedule.

The selected service does not check an item's refundable configuration before an authorized refund. A catalog label or policy description is not enforcement proof. Apply the organization's approved refund decision and validate the intended platform behavior in a test environment.

Cancel an unpaid order​

For an unpaid order, choose Cancel order, review Cancel this unpaid order?, then confirm Cancel order. The controller calls the abandon service, which checks/cancels open provider intents and releases held inventory when the order can transition. A payment-success race can refuse cancellation; inspect that same order and use the authorized refund process for a paid purchase.

This is not an attendee deletion, a paid-order refund or a guarantee that a stale browser cannot finish a provider action. Do not repeat cancellation or refund blindly after a timeout. Read the known order first and have the owner reconcile uncertain provider/local state.

Issue complimentary tickets or products​

On Orders, choose Issue complimentary tickets. In the drawer:

  1. Search for and select the existing Attendee in this project. Search uses the attendee index, so its separate access requirements may affect results.
  2. Set positive item quantities (up to 100 per submitted line). Configure items in Tickets & products first.
  3. Optionally add a Note (up to 500 characters), then choose Issue once.
  4. Inspect the resulting order and the actual attendee's credentials, groups and intended session/access outcome.

The admin catalog context bypasses ordinary buyer visibility/eligibility and sales-window checks. It still excludes Draft/archived candidate items and checks price currency, quantity rules, prerequisites and inventory. The drawer's offered items are broader than guaranteed purchasable candidates; an offered item can still fail validation.

A comp order has zero payable total, records list value separately and runs fulfillment synchronously without a payment account requirement. It creates real order/booking/grant records. The controller may fall back to the issuing administrator's email when the attendee lacks a contact email, but the receipt service skips zero-total orders. This is not a documented create-attendee or send-ticket-email flow. A redirect alone is insufficient: inspect the order's final state and entitlement. No general replay/idempotency key is exposed by this drawer; after uncertainty, find the resulting order before issuing again.

Receipts​

Automatic receipt handling listens for order fulfillment through a queued listener. The receipt service skips zero-total/free/comp orders, missing buyer emails and ordinary sends already marked by metadata.receipt_sent_at. An authorized organizer can choose Resend receipt for a positive-total fulfilled or partially refunded order with a buyer email. A fully refunded order does not receive that detail-page action.

Resend creates a distinct notification idempotency key, so repeatedly clicking can send additional emails. Inspect the recipient first and verify actual delivery separately: the toast and receipt_sent_at marker are not inbox-delivery evidence. Never use resend as a read-only mail diagnostic.

The receipt shows original line quantities/amounts and total paid; this template does not present a refund-history statement. Its event link uses an active project portal domain matching the stored checkout hostname when available, otherwise the project's default portal URL. Do not assume a default portal exists or a shop checkout stored a hostname. Confirm the intended portal/domain configuration and received link in an approved test. Provider/mail routing and delivery troubleshooting remain private operator work.

Sales report and export​

Open Commerce → Sales, choose From and To, then Apply. All time clears applied dates. Dates name payment-day calendar boundaries in the project's timezone (UTC fallback), inclusive from start of the From day through end of the To day. The end cannot precede the start. Refunds affect the original sale day, rather than a separate day-of-refund cashflow report.

Sales builds from orders with paid_at, excluding marked test charges. Money comes from ledger rows: organizer charges form gross, refund/dispute/adjustment rows affect refunds, and platform-beneficiary rows affect fees. Net to you is gross minus refunds minus fees. Values are attributed to items and sale days; line-specific refunded units are attributed first, with remaining money split proportionally by line totals using integer rounding. Orders without lines fall under Other charges. Unit counts are purchased units, with refunded units tracked separately by item; they are not necessarily remaining entitlements.

This differs from the Orders cards' status-based totals. Report currency comes from the first matching order (USD if none); the builder does not group multiple currencies into independent totals or convert them. Reconcile any historical mixed-currency data with the owner rather than treating the displayed currency as conversion proof. The net chart clamps negative values for bar height, so use numeric totals/rows for negative outcomes.

Choose Export only after applying the intended range. Export submits the applied filters, not unsaved edits in the date inputs. It queues an XLSX report through the shared export pipeline and returns a filename; the UI says a notification will arrive when it is ready under Exports. That response is not a completed/downloaded spreadsheet. Open the selected project’s Exports area and verify final export access and file content separately.

The export columns are date, item, units, currency, gross, refunds, platform_fees, net; money is converted from minor units to two-decimal major units. The report uses current item names, not an immutable historical name snapshot. Restrict report files to authorized users and keep buyer/order/provider details out of public screenshots.

Troubleshooting and acceptance​

SymptomCheck / next step
Refund/cancel/comp/receipt action missingSeparate view/manage/refund permissions, order state, positive refundable amount and receipt eligibility
Refund quantity refusedCorrect order/line, completed and pending refund units, remaining captured money; refresh before retrying
Refund toast but access remainsSpecific refund state and line mapping; external money-only refunds do not establish unit effects; even ordinary line refunds do not reverse group/type grants
Free/comp order cannot be refundedNo captured payment; request supported entitlement cancellation from the owner
Receipt missingPositive total, buyer email, fulfilled state, queued listener/mail outcome; avoid repeated resends
Orders and Sales differStatus/card basis versus paid-day ledger basis, filters, fees, disputes, test-charge exclusion and currency
Export uses unexpected datesApply edited dates before Export; inspect the completed file and selected project
Operation timed outPreserve full UUID, sanitized refund/line IDs, time and stage; inspect stored/provider state before repeating

Have the commerce owner coordinate allowed/denied organizer roles, different-project order/line attempts, partial/full/pending/failed refunds, external money-only refunds, payment/cancel races, comp fulfillment, receipt delivery and completed report export in an approved environment. Reconcile monetary totals, stock, credentials and access separately. Local handler/arithmetic checks and source review do not establish these durable outcomes.