Files
gaokao-volunteer-system/admin
Hermes 38f74bd1f1
Some checks failed
CI / pytest (Python 3.10) (push) Has been cancelled
CI / pytest (Python 3.11) (push) Has been cancelled
CI / pytest (Python 3.12) (push) Has been cancelled
feat(portal): add payment-success intermediate page + status/info copy
After successful payment, the gateway now lands users on an
intermediate 'payment-success' page that explains next steps
(continue intake, or jump to status) before they continue into
the live status view. This is a product-experience improvement
over the old direct /status redirect and was already staged in
uncommitted web_public work; this commit lands the matching test
assertions and copies.

Changes:
- admin/routes/web_public.py
  * /portal/{token}/payment-success route + _render_payment_success_page
  * payment_return_page now redirects to /payment-success (303)
  * landing_page renders a 'consult' quick-intake card
- admin/tests/test_web_public.py
  * test_payment_return_redirects_to_payment_success_page
  * test_payment_success_page_served_after_paid_order
  * landing/pricing/info/status copy assertions
- admin/tests/test_order_info_form.py
  * assert the 'still need to fill' reminder renders
- admin/tests/test_order_status_page.py
  * test_info_required_status_page_emphasizes_continue_intake
  * assert '查看报告' / '查看当前进度' on delivered/processing status
- admin/tests/test_web_public_alipay_sim_e2e.py
  * accept the new /payment-success intermediate page
- tests/test_cli_doctor_phase3.py
  * drop unused pytest import (ruff F401)

Verification:
- focused alipay_sim E2E: 1 passed
- dev-verify full gate: all checks passed (ruff / mypy / pytest / coverage / benchmark)
2026-06-17 18:50:08 +08:00
..
2026-06-13 14:49:58 +08:00
2026-06-13 14:49:58 +08:00
2026-06-13 14:49:58 +08:00
2026-06-13 14:49:58 +08:00
2026-06-13 14:49:58 +08:00
2026-06-13 14:49:58 +08:00
2026-06-13 14:49:58 +08:00
2026-06-13 14:49:58 +08:00