payments-hub documentation¶
Gateway-agnostic payment and agreement abstraction layer for WordPress/WooCommerce subscription sites.
Contents¶
- Architecture — layers, service providers, and key classes
- Database schema — custom tables and ER diagram
- Gateway integration — how to use and extend payment gateways
- Migrations — one-off data migrations, such as importing cards from a previous PSP
- Checkout attempts — how attempts are created, superseded and attributed
- Webhooks — webhook flow, supported events and idempotency
- The verification page — what the PSP redirect carries, and how a retry is reported
- Dunning and payment retries — the retry plan, what stops it, and how the order screen shows it
- Configuration — environment variables and setup
Providers¶
Anything true of one provider and not the others lives here, so the pages above stay about the gateway-agnostic layer.
- Frisbii — the invoice/transaction model, endpoints, error codes, events and handles
- MobilePay — events and what MobilePay does not implement
Reference¶
- System status — the Payments Hub section in WooCommerce's system status report
- Testing — running and writing tests