Actions
Development #7650
openFeature #7166: Voucher (M14)
Commit voucher redemption safely
Status:
New
Assignee:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Complete Date:
Description
Refer to:
- docs/planning/modules/M14_Voucher.md
- docs/planning/FPOS
Implement the final voucher redemption/consume step.
Scope:
- Reserve/validate voucher before sale completion where required.
- Commit redemption only once.
- Link voucher redemption to Transaction ID.
- Prevent duplicate redemption on retry.
- Handle timeout/uncertain result safely.
- Use idempotent request/reference where online redemption is involved.
- Handle redemption failure before transaction completion.
- Define rollback/release behaviour if sale fails after voucher reservation.
- Record provider/Backend redemption reference.
Done when: A voucher cannot be accidentally consumed twice and failed sale/payment flows do not leave the voucher in an incorrect redemption state.
No data to display
Actions