Installation & Requirements
Prerequisites
Section titled “Prerequisites”- PHP 8.4+ with
sodium,openssl, andpdo_mysqlextensions. - ProcessWire 3.0.271+ with
Inertia,React,Entries,Contacts, andCurrencyinstalled and active. - HTTPS in production for signed inbound webhooks (
/_payments/webhook/{gatewayHandle}) and/pay/{token}hosted links.
Install the Module
Section titled “Install the Module”composer require trk/processwire-paymentsphp vendor/bin/wire module:install Payments --json- Log in as a superuser and navigate to Modules -> New.
- Use Add Module from Directory (enter
Payments), Add Module from URL, or Add Module from Upload (ZIP archive). - Click Modules -> Refresh, locate Payments under the Site tab, and click Install. ProcessWire automatically installs
ProcessPaymentsat Setup -> Payments.
- Download and extract the release directory into
site/modules/Payments/. - Open Modules -> Refresh in the ProcessWire Admin (or run
php vendor/bin/wire module:refresh). - Click Install next to Payments under Modules -> Site.
On installation, Payments provisions PaymentsBlueprints, creates the entries_tbl_payments_* managed SQL tables, installs its four RBAC permissions (payments-admin, payments-manage, payments-refund, payments-view), and registers the built-in Manual and Dummy drivers alongside any installed gateway modules.
Verify Your Setup
Section titled “Verify Your Setup”php vendor/bin/wire payments:doctor --jsonphp vendor/bin/wire payments:gateways:list --jsonPrint Your Inbound Webhook URL
Section titled “Print Your Inbound Webhook URL”Before registering a webhook endpoint in your payment provider dashboard, print the exact canonical URL for a configured gateway handle:
php vendor/bin/wire payments:webhook:url stripe-eur --json