Project

General

Profile

Actions

Requirement #841

closed
RA

Parking APS:自動繳費機後端 API 與五家銀行折抵

Requirement #841: Parking APS:自動繳費機後端 API 與五家銀行折抵

Added by Redmine Admin 5 days ago. Updated 5 days ago.

Status:
Closed
Priority:
P0-Urgent
Assignee:
-
Category:
Business Rules
Start date:
10/20/2026
Due date:
10/20/2026
% Done:

100%

Estimated time:
(Total: 0:00 h)
Story Points:

Description

目標

依據 docs/parking_aps_specification.md 實作可執行的停車 APS 後端。

範圍

  • Express.js + TypeScript。
  • 預設帳單 ABC-1234:4 小時、每小時 40 元、總額 160 元。
  • 五家銀行:富邦、國泰世華、台新、中國信託、玉山。
  • 雙網關:折抵網關、金流支付網關。
  • 四個 API:查帳、折抵、付款確認、重置。
  • In-memory 狀態可重複重置。

驗收

  • 五家銀行規則與降級邏輯均有測試。
  • 付款成功回傳 gateRelease 與 15 分鐘緩衝。
  • 重置後回到 160 元未繳費狀態。
  • 實作規格與計劃:docs/parking_aps_implementation_spec.md、
    docs/parking_aps_plan.md。

Subtasks 5 (0 open — 5 closed)

CR #842: CR:實作帳單查詢、五家銀行折抵與重置 APIClosed10/20/202610/20/2026

Actions
CR #843: CR:實作付款確認、開閘與玉山悠遊卡第二階段折扣Closed10/20/202610/20/2026

Actions
Issue #844: 問題:台新點數比例折抵的精準扣點與歸零邊界Closed10/20/202610/20/2026

Actions
Issue #845: 問題:玉山 5% 第二階段折扣的付款身分判定Closed10/20/202610/20/2026

Actions
Task #846: 任務:Parking APS 真實 API 測試與交付驗證Closed10/20/202610/20/2026

Actions

RA Updated by Redmine Admin 5 days ago Actions #1

需求建立:依 parking_aps_specification.md 與 parking_aps_implementation_spec.md 實作停車 APS 後端。

RA Updated by Redmine Admin 5 days ago Actions #2

  • Status changed from New to In Progress

進入實作與驗收階段。

  • 規格:docs/parking_aps_implementation_spec.md
  • 計劃:docs/parking_aps_plan.md
  • 後端專案:parking-aps-server
  • 測試紀錄:docs/parking_aps_test_record.md

RA Updated by Redmine Admin 5 days ago Actions #3

  • Status changed from In Progress to Closed

需求驗收完成並關閉。

驗收結果

  • 四個 API 均可實際呼叫。
  • 五家銀行折抵與防呆邏輯均有測試。
  • In-memory 帳單可由 /reset 重複重置。
  • 付款成功提供 15 分鐘緩衝與 gateRelease。
  • 測試 33/33、typecheck、build、npm audit、HTTP smoke test 均通過。

交付文件

  • parking-aps-server/README.md
  • docs/parking_aps_implementation_spec.md
  • docs/parking_aps_plan.md
  • docs/parking_aps_test_record.md
Actions

Also available in: PDF Atom