Commit 74444b1
committed
修正 ATM 虛擬帳號繳款的 expirationDay 預設值
根據 YiPay 金流串接手冊 V1.1.0 規格:
- 超商代碼繳費 (type=3): 預設 2 天 (範圍 1~3 天)
- ATM 虛擬帳號 (type=4): 預設 7 天 (範圍 1~7 天)
變更:
- src/Message/PurchaseRequest.php: 根據 type 設定不同預設值
- src/Traits/HasAtmOrCvs.php: 更新註釋說明不同付款方式的天數範圍
- docs: 新增 YiPay 金流串接手冊 V1.1.0 Markdown 版本
測試: 所有測試通過 (59 tests, 159 assertions)1 parent 28abc1d commit 74444b1
File tree
4 files changed
+714
-3
lines changed- .github/workflows
- docs
- src
- Message
- Traits
4 files changed
+714
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
0 commit comments