Validation - Restricted Postcode Manager V1.1
30/10/2026

PASS: PHP 8.3 CLI syntax checks for all 4 packaged PHP files.
PASS: 52 isolated hook execution scenarios using a simulated Phoenix
database, Request, customer, Linker and checkout session.

Covered: standard checkout pages; OPC page/handoff; OPC JSON validation;
PayPal OPC create/capture; Stripe Hosted creation; mixed case/whitespace;
unrestricted postcodes; empty prefixes; default and array delivery addresses;
registration; clearing payment/ready state after rejection; allowing address
corrections; rejecting payment POSTs carrying an edit-address query parameter;
leaving webhook, success, basket and contact pages accessible.

These checks exercise the hook, not a running Phoenix installation or live
payment providers. PHP 8.2 compatibility is based on supported syntax; the
executable available for these checks was PHP 8.3. Follow Install.txt's test
checklist on your test site before updating a live shop.
