Skip to content
Paymenter extension Free & open source

Pay All Invoices for Paymenter: one payment for every unpaid invoice

Clients with several servers get several invoices, and Paymenter makes them pay each one on its own: several checkouts, and a gateway fee on every one. It is the "Pay All Invoices Button" asked for in Paymenter discussion #628 and issue #1137, and Paymenter 1.5 has nothing like it.

Free on Gumroad. The SourceXchange listing is in review.

Works with
Paymenter 1.5 and any payment gateway in your store
Tested with
Paymenter 1.5.9 and its default theme
Type
Others extension, no core files changed
License
MIT, free

Pay All Invoices adds a Pay all button that pays them with one payment, through any gateway your store has. Paymenter then marks every invoice paid and runs its normal handling for each: services renewed or unsuspended and "Invoice paid" emails, exactly as if the client had paid them one by one.

Client invoices page in Paymenter with three unpaid invoices and a Pay all (3 invoices, total $26.00) button
One button pays every unpaid invoice

What Pay All Invoices for Paymenter does

One button

"Pay all (3 invoices, total $26.00)" on the invoices page and the dashboard when a client has 2 or more unpaid invoices in one currency. You can raise the minimum.

Any gateway

One invoice for the total in Paymenter's own payment window, saved payment methods included. The gateway charges once.

Each invoice paid on its own

Services renew and unsuspend as usual, and each invoice gets its own transaction that names the combined invoice.

No payment code of its own

The combined invoice is a credit deposit, the kind Paymenter creates on Account → Credits. Pay All then pays each invoice from that credit, the way Paymenter's own Pay with Credits does.

Safe with money

Amounts are worked out on the server and only the client's own invoices count. A duplicate webhook changes nothing, and a partial or failed payment applies nothing.

Currencies never mixed

A client with invoices in two currencies gets one button per currency.

How it works

  1. Upload. Admin → Extensions → Available Extensions → Upload Extension, and upload the zip.
  2. Install. Click Install next to Pay All Invoices (Karelia Labs).
  3. Enable. Turn on Enabled and save. Store credits do not need to be turned on.

Screenshots

Paymenter dashboard with the Pay all button below the Unpaid Invoices list
Also on the dashboard, below Unpaid Invoices
Paymenter's payment window for the combined invoice of $26.00 with a gateway selected
One payment, with any gateway the store offers
The combined invoice paid through the gateway, and one of the original invoices paid from it with its own transaction
Each invoice is paid from it, with its own record

Built to be safe with money

  • The form sends only the invoices the button showed, and they must be exactly the client's unpaid invoices, so another client's invoice is refused. Login and CSRF token required.
  • No double charge: invoices with a payment already processing, or paid by a gateway subscription, are left out. Clicking again reopens the same combined invoice.
  • Applied once: a gateway webhook that arrives twice changes nothing.
  • Partial or failed payment: nothing is applied until the combined invoice is paid in full; a failed payment leaves every invoice unpaid.
  • An invoice paid or cancelled separately in the meantime is skipped, and its share stays as account credit, which Paymenter offers on the client's next invoice.
  • Combined invoices nobody started paying are cancelled after 24 hours. A payment that arrives while the extension is off is applied when it is on again.

Good to know

  • The dashboard button uses Paymenter's pages.dashboard hook; the invoices page button needs the theme's <main> element, which the default theme has. Other themes were not tested.
  • Paymenter 1.5 has no invoice refunds. Refunding the combined payment at the gateway does not unpay the invoices.
  • Tested with a test gateway that reports payments the way hosted gateways do, not against Stripe, PayPal or Mollie themselves.
  • Paymenter's scheduler and queue worker must run, as in Paymenter's install guide.

FAQ

Is it free?

Yes. It is free and open source under the MIT license, on Gumroad and SourceXchange, where the listing is in review.

Can the client pick which invoices to pay?

No. The button pays all unpaid invoices in that currency. Single invoices can still be paid on their own.

Does the client get emails?

The usual "Invoice paid" email for every invoice, and one for the combined invoice. No "new invoice" email for the combined invoice.

What does the client see in the invoice list?

The combined invoice, "Payment for invoices #INV-12, #INV-13, #INV-14", next to the invoices it paid.

What happens when I uninstall it?

Paid combined payments are applied first, unpaid combined invoices are cancelled and the extension's table is removed. Invoices and transactions stay.

Related tools

Updated 2026-10-25