0.1.2
Critical AJAX callback fatal fix release.
What changed
- Fixed WordPress AJAX hook registration so PayArc handlers receive zero hook arguments, preventing PHP TypeError fatals from WordPress do_action() placeholder values.
- Covered PayArc payment lifecycle, settings validation, PayArc connect, terminal refresh, and disconnect AJAX routes.
- Added regression coverage asserting PayArc AJAX callbacks are registered with accepted_args = 0.
Validation
- composer run lint passed: no PHP syntax errors.
- composer test passed: 13/13 regression tests.
- node --check assets/js/admin.js && node --check assets/js/payment.js passed.
- git diff --check passed.
- codex review --base main found no actionable correctness issues.
- Adversarial Codex release-blocking review found no release-blocking findings.
- GitHub PR checks passed: CodeQL and CodeRabbit.
Fixed production symptom
Fixes critical PHP TypeError fatals like:
AjaxHandler::handle_start(): Argument #1 ($request) must be of type ?array, string given
SHA-256 for the uploaded ZIP:
6519fa1c8cb9dea8e52ee6f4b485d8ce65f92f185e706e67ce34a14aa273817d