Skip to content

Transactions

Learnomy overviewFree + ProGet Learnomy →

Learnomy transactions

The Transactions screen is the complete financial ledger for your academy. Every course purchase, membership payment, subscription renewal, and refund appears here in one place. You can filter, search, issue refunds, and drill into the full detail of any individual transaction.

Go to LMS commerce > Transactions. The list shows every transaction row with totals in the page subtitle.

Transactions list

Transactions table

  • ID - the internal transaction number (links to the detail page).
  • Customer - display name and email.
  • Item - the course title or membership plan name, plus the gateway’s own transaction reference (provider transaction ID) in small text below.
  • Amount - the charged amount with currency code.
  • Type - the transaction category (Course, Membership, Membership renewal, Refund, etc.).
  • Provider - which gateway processed the charge (Stripe, PayPal, WooCommerce, Test, or any gateway an add-on registers). Sales sent by the incoming sales webhook show the sender’s label, such as Make or Gumroad.
  • Status - the current state of the row.
  • Date - date and time of the transaction.
  • Actions - Refund button for eligible rows.
Status Meaning
Completed Payment was collected and fulfilment ran (enrolment, subscription, etc.)
Refunded The full amount was refunded; the matching refund row links back here
Partially refunded Part of the amount was refunded; the matching refund row links back here
Awaiting payment The buyer reached checkout; the payment is not confirmed yet
Payment failed The charge attempt failed; no fulfilment occurred
Checkout not finished The buyer left checkout, or a newer checkout replaced it; nothing was charged

Refund rows (transaction type “Refund”) appear in the list and show “Refund of #N” in the Actions column, linking back to the original transaction.

Transactions header

Use the Status dropdown to filter by Completed, Refunded, Awaiting payment, Payment failed or Checkout not finished. Use the Provider dropdown to isolate transactions from a specific gateway (Stripe, PayPal, WooCommerce, Test, any registered add-on gateway, or Demo), or choose Incoming sales to see every sale recorded by the incoming sales webhook (Make, Zapier, Gumroad and so on). Enter a name, email, order ID, or provider transaction reference in the search box. To reconcile one course or one period, type part of the course name and pick a from and to date (days in your site’s timezone; both ends included). Click Filter, and Reset to clear all filters.

Export these as CSV in the header downloads exactly the rows the current filters show, so a month’s or a course’s income goes straight to your spreadsheet. With no filter set it exports the whole ledger.

A Refund button appears in the Actions column for transactions that meet all of these conditions:

  • Transaction type is not itself a refund.
  • Status is Completed.
  • No refund has been issued for this transaction yet.
  • The gateway is Stripe, PayPal, or Test. WooCommerce sales are refunded from the WooCommerce order, and incoming-webhook sales where they were sold (the row shows “Refund in Make”, for example); Learnomy records the refund when it arrives.

Click Refund to open a dialog showing the customer name, item, and amount, with a Refund amount field. The field is prefilled with the full charge, so a full refund is still one click and Enter. Lower it to refund only part of the charge. The amount must be greater than zero and no more than the amount charged.

What happens on refund:

  1. The gateway adapter calls the provider’s refund API for the amount you entered.
  2. A new transaction row is written with type “Refund”, the refunded amount as a negative figure, and the original transaction’s ID stored in refund_of.
  3. The original row’s status updates to “Refunded” for a full refund, or “Partially refunded” when you refunded less than the full charge.
  4. On a full refund, the commission split for that transaction is reversed (and any part already paid out is taken back as a negative earning): instructor commission rows are marked reversed (not deleted), and the platform commission row is also reversed. The net effect is that neither party keeps earnings from a refunded sale.
  5. What the refund cancels follows the refund rule below.

A partial refund reduces the commission in the same proportion. The platform share and the instructor share both shrink by the share of the sale you refunded. The student keeps access unless you tick Also cancel what this payment granted. If part of the commission was already paid out, the excess is taken back from the instructor as a negative earning that nets against their next earnings. See Commissions and Earnings.

A transaction can be refunded more than once, up to the amount charged. Refund 25.00 of a 100.00 sale today and the Refund button stays on the row, now offering the remaining 75.00. The button only disappears once the sale is refunded in full.

The dialog sends the amount it showed as still refundable. If another refund changed that amount while the dialog was open (a second administrator, or a second browser tab), the refund is refused with “This sale changed while the refund dialog was open: … is refundable now. Reload the page and check its refunds before trying again.”, so the same money is never refunded twice. The Issue refund screen in Membership Pro does the same.

Only one refund runs on a sale at a time. If a second administrator, or a second browser tab, starts a refund on the same sale while one is running, it waits up to ten seconds and then stops with “Another refund for this sale is still being processed”. Reload the sale and check its refunds before trying again. If the gateway accepted a refund but Learnomy could not record it on the sale, you see “The gateway sent the refund … but Learnomy could not record it on this sale” with the gateway’s refund id, never “Refund processed”, and an audit entry is written. Check the refund in your Stripe or PayPal dashboard before repeating it. Stripe and PayPal also receive a request key built from the sale, the remaining amount and the refund amount, so an identical request repeated within ten minutes is recognised as the same refund.

Every sale carries a payment reference that ties together the rows of one payment. Updating Learnomy fills in any older sale that is missing one. To check or repeat that by hand, run wp learnomy cleanup payment-refs (add --dry-run to count first). It is safe to run on a live site and as often as you like.

The refund rule. A refund returns the money. A full refund also cancels what that payment granted: the course access it bought, or the membership it paid for (any payment of it, the first or a renewal). A partial refund returns money only, unless you tick Also cancel what this payment granted in the dialog. Either way, a course the student also holds another way (another paid sale, another plan, a cohort or Learning Space seat, an access grant or a store integration) stays open. The instructor’s earning on the sale is reversed in proportion when it is still unpaid; if it was already paid out, the same amount is taken back from their next payout as a negative adjustment, which shows in their earnings history. Before you confirm, the dialog lists what will be cancelled, what the student keeps and why, and what happens to the instructor’s earning, and it updates as you change the amount or the tick box. In a WooCommerce order with several courses, each course is its own sale, so fully refunding one line removes that course alone.

Disputes. When a buyer disputes a payment with their bank (a chargeback), the sale shows a Disputed badge beside its status on the Transactions list and on its detail (with the date to respond by), the status filter’s Disputed lists every sale with a dispute still open, and you get an email naming the item, the buyer’s name and email, the order number, the amount, the reason and the date to respond by, with a button that opens the dispute in Stripe and a link to the sale here. The Learnomy screens also show “1 sale has an open payment dispute.” with Review transactions, which opens that filter. Nothing changes on your site while it is open. A dispute you win clears the badge; a dispute you lose is booked as a full refund under the rule below.

Who is told. Every refund, whichever way it was made (the Refund button, the Stripe or PayPal dashboard, WooCommerce or another store), emails the buyer once: the amount, the payment method and, for each item, whether their access ended, stays because something else still gives it, or is unchanged by a partial refund. A cart refunded in one go is one email naming every course. When a payment dispute is lost, the buyer gets a “Your payment was reversed” email instead, saying what access ended. Each instructor whose earning the refund or dispute takes back is told the amount (with Commissions on). Each email has its own switch in Settings > Emails (Refund Issued, Payment Reversed After a Dispute, Earning Reversed by a Refund), on by default, and follows Pause all emails; every one is listed in the Email Log.

For Stripe and PayPal, the refund is recorded here on the transaction. WooCommerce, Easy Digital Downloads, Restrict Content Pro, Paid Memberships Pro and MemberPress keep their own refund records. Each of them decides what counts as refunded, and Learnomy follows its refund event and changes access.

Refunds on a cart (several courses, one payment)

Section titled “Refunds on a cart (several courses, one payment)”

A cart payment books one transaction per course, so each course can be refunded on its own from its own row, with the same Refund button and rules as any sale. Each row shows “Item 1 of 3 in one payment”; click it to list every row of that payment.

A refund made in the Stripe or PayPal dashboard refunds the whole payment, and Learnomy shares it out:

  • The full remaining amount: every course is refunded and loses access.
  • Exactly one course’s price (a course nothing has been refunded on yet): that course is refunded in full and loses access; the others stay.
  • Any other amount: it is spread across the courses as partial refunds, in proportion to what each has left. Nobody loses access. If two courses cost the same and you refund that amount, Learnomy cannot tell which one you meant, so it is spread too; refund the right course from its own row instead.

The parts always add up to the amount refunded, and a refund already recorded in Learnomy is never counted again when the dashboard reports it.

When you returned money outside Learnomy (in the gateway dashboard, by bank transfer, or for a WooCommerce sale), open the transaction and click Record manual refund. Enter the amount and, if you like, a note such as how and when you paid it back. Nothing is sent to a gateway: Learnomy records the refund on the sale, reduces or reverses the commission, and removes access on a full refund, by the same rules as any refund. The note shows on the refund’s detail page and in the CSV export.

If the gateway later reports the same refund, Learnomy sees it is already recorded and does not count it twice.

Retrying a refund on an already-refunded transaction

Section titled “Retrying a refund on an already-refunded transaction”

A fully refunded transaction shows status “Refunded” and loses its Refund button. If a refund is attempted against it anyway (a stale page, or a second admin acting on the same row before it refreshes), Learnomy reports “This transaction has already been refunded in full” instead of the misleading “not completed” message that older versions returned.

A sale that charged nothing (a test-mode sale, or one paid in full with a 100% coupon) has no Refund button either. A refund attempted through the API reports “Nothing was charged for this transaction, so there is nothing to refund.”

A partially refunded transaction keeps its Refund button, and the dialog offers the remaining amount rather than the original charge, so you cannot accidentally return more money than is left.

Click any transaction ID in the list to open the full detail page.

Shows amount, type (e.g. “Membership renewal”), status badge, provider name, the gateway’s own transaction reference (for cross-referencing in Stripe or PayPal), and the date.

If the transaction is itself a refund, a “Refund of #N” row links to the original. If the transaction has been refunded, a “Refunded by #N” row links to the refund.

For one course of a cart, a Paid together card lists every course of that payment with its amount and status, each linking to its own transaction, plus a link that shows them all on the Transactions list.

Shows the customer (linked to their student profile), the item (course or membership plan linked to its editor), the linked subscription (if a membership payment), and the coupon applied at checkout (if any), with the discount amount.

A table shows how the transaction amount was divided. For a course purchase, two rows typically appear: one for the Platform (the site owner’s share) and one for the instructor. Each row shows:

  • Recipient name and type
  • Amount
  • Rate applied
  • Payout status (pending, paid, reversed)

When a full refund is issued, the commission rows for the original transaction are updated to “reversed”. After a partial refund both shares shrink in proportion to what was refunded. The new refund transaction has no commission rows of its own.

If no commission rules are configured for a transaction, the table shows “No commission records for this transaction.”

When a transaction carries a metadata_json payload from the gateway (e.g. Stripe session data), a raw JSON block appears at the bottom of the page for debugging. This block is read-only.

  • WooCommerce transactions show with provider “WooCommerce”. To refund them, go to the WooCommerce order (the gateway reference in the Item column is the WC order ID) and use WooCommerce’s own refund flow. The Learnomy adapter listens to the woocommerce_order_refunded hook and records the refund row automatically. When one WooCommerce order holds several courses, refunding one course’s line item in WooCommerce reverses only that course; refunding the whole order reverses all of them.
  • Awaiting payment rows are created when a student reaches the checkout but the payment has not yet been confirmed. They clear to Completed when the gateway webhook fires, or to Payment failed if the webhook reports failure. A backlog of Awaiting payment rows usually means the gateway webhook is not configured correctly.
  • A sale refunded in several parts lists every refund under Refunded by.
  • The search field matches against customer name, email, the internal order ID, and the provider’s own transaction reference. You can paste a Stripe pi_... or ch_... ID directly into search to find the matching row.
  • A transaction always shows the currency it was charged in, here, on the member’s Billing page and in each row of Earnings, even after you change the site currency. See General Settings.
  • For developers: Transaction::get_for_user_courses( $user_id, $course_ids, $limit = 50, $offset = 0 ) returns one member’s transactions on a set of courses together with the refunds of those transactions, newest first, and Transaction::count_for_user_courses( $user_id, $course_ids ) gives the total for paging. A refund row recorded without a course carries the course of the purchase it refunds. Membership purchases have no course and are not included.
  • Partial refunds are issued from the Refund button here, not in the gateway dashboard. A partial refund reduces the instructor and platform split in the same proportion.