Skip to content

Installation & Requirements

  • PHP 8.4+ with sodium, openssl, and pdo_mysql extensions.
  • ProcessWire 3.0.271+ with Inertia, React, Entries, Contacts, and Currency installed and active.
  • HTTPS in production for signed inbound webhooks (/_payments/webhook/{gatewayHandle}) and /pay/{token} hosted links.
Terminal window
composer require trk/processwire-payments
php vendor/bin/wire module:install Payments --json

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.

Terminal window
php vendor/bin/wire payments:doctor --json
php vendor/bin/wire payments:gateways:list --json

Before registering a webhook endpoint in your payment provider dashboard, print the exact canonical URL for a configured gateway handle:

Terminal window
php vendor/bin/wire payments:webhook:url stripe-eur --json

Next steps