Skip to content

Upgrading & Uninstalling

Always take a database backup (php vendor/bin/wire db:backup) before upgrading in production.

  1. Update the package and refresh modules so ProcessWire runs ___upgrade() automatically:

    Terminal window
    composer update trk/processwire-payments
    php vendor/bin/wire module:refresh
    php vendor/bin/wire payments:doctor --json

Uninstalling Payments from Modules (or via php vendor/bin/wire module:uninstall Payments) triggers ___uninstall(), which removes:

  • All internal PaymentsBlueprints collections and singletons (gateways, plans, payment links, saved sources, settings).
  • All managed SQL tables under entries_tbl_payments_* (ledger transactions, payments_subscriptions, payments_subscription_events, invoices, and webhook logs).
  • The companion ProcessPayments admin page at Setup -> Payments.
  • All four RBAC permissions (payments-admin, payments-manage, payments-refund, payments-view).

Next steps