Project

General

Profile

Actions

Issue #845

closed
RA

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

問題:玉山 5% 第二階段折扣的付款身分判定

Issue #845: 問題:玉山 5% 第二階段折扣的付款身分判定

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

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

100%

Estimated time:
Story Points:

Description

待確認

confirm-checkout 僅有 plateNo 與 paymentMethod,沒有再次傳入卡片 BIN。
需要判定是否為玉山聯名卡的悠遊卡功能。

決策方向

保留折抵時的 appliedBankCode=808;若後續 paymentMethod=EASYCARD,
即視為同一張玉山聯名卡的悠遊卡支付,追加 5% 現金立減一次。

RA Updated by Redmine Admin 5 days ago Actions #1

Issue 建立:確認 checkout 缺少卡片資訊時,玉山 5% 折扣的判定方式。

RA Updated by Redmine Admin 5 days ago Actions #2

  • Status changed from New to Closed

決策完成並關閉。

規則

  • 折抵時保存 appliedBankCode=808。
  • confirm-checkout 若 paymentMethod=EASYCARD,視為同一張玉山聯名卡的悠遊卡支付。
  • 追加 round(第一階段後剩餘金額 × 5%) 現金立減,只套用一次。

驗證

  • 160 → 玉山第一階段折 40 → 120。
  • EASYCARD 5% 折 6 → 實付 114。
  • 非 EASYCARD 不追加 5%,實付 120。
  • payAmount 不符時不寫入 5% 折扣。
Actions

Also available in: PDF Atom