Project

General

Profile

Actions

기능(Feature) #2680

open

** B2C Online Coupon

Added by ziniy Kang 3 months ago. Updated 12 days ago.

Status:
신규(New)
Priority:
보통(Normal)
Assignee:
Start date:
10/02/2025
Due date:
02/26/2026 (12 days late)
% Done:

99%

Estimated time:
(Total: 236.00 h)
Spent time:
(Total: 42.00 h)
Part:
Build env.:

Description

Storyboard
https://www.figma.com/design/Tmlbxh17VqmfuCzsbzN16q/%F0%9F%8E%AB-SB--B2C-Online-Coupon?node-id=3-115&t=Y50Mr0CiDqFiH52g-1
PRD
https://luck-polonium-5e9.notion.site/B2C-Online-Coupon-28b0df1854a180349b5cfd898b0286de?source=copy_link
Design
https://www.figma.com/design/rKpXzV8hRJIgtVK4QtJqi8/B2C--B2B?node-id=17998-248544&t=sZm56myjqQhcoZKb-1

Q&A: https://ohmylab-my.sharepoint.com/:x:/g/personal/phong_lt_ohmyhotel_com/IQAjLKwa4-r5SqmoSrRhlCsVAdUszNfy3vfT3A_8u4wURwM?wdOrigin=TEAMS-MAGLEV.p2p_ns.rwc&wdExp=TEAMS-TREATMENT&wdhostclicktime=1766117424593&web=1

Chính sách coupon
1. Coupon chỉ dành cho thành viên OMH
2. Mỗi đơn đặt phòng được dùng tối đa 2 coupon
  • Mặc định coupon không dùng chồng (N), chỉ coupon stackable: Y mới dùng chung được
  • Coupon stackable: Y có thể kết hợp online + offline
  • Dùng chung coupon % và coupon tiền: áp dụng coupon giảm nhiều hơn trước, sau đó áp dụng coupon còn lại
3. Hủy toàn bộ đơn đặt phòng có sử dụng coupon
  • Case A: Phí hủy nhỏ hơn số tiền đã thanh toán (sau khi trừ coupon)
    Hoàn tiền = số tiền thực trả (không tính phần giảm giá coupon) – phí hủy
    Nếu coupon còn hạn, coupon sẽ được hoàn lại My Page và có thể dùng lại
  • Case B: Phí hủy lớn hơn số tiền đã thanh toán (sau khi trừ coupon)
    Không hoàn tiền (0)
    Công ty tự chịu phần chênh lệch, không yêu cầu khách thanh toán thêm

4. Đơn dùng coupon không hỗ trợ sửa đổi (partial refund)
→ Muốn thay đổi đơn, khách phải hủy toàn bộ và đặt lại đơn mới

- Hoàn coupon khi hủy
Hủy khi coupon còn hạn → coupon được hoàn lại và dùng lại được
Hủy khi coupon đã hết hạn → coupon bị mất, không hoàn lại

5. Coupon hết hạn
→ Tự động bị hủy, không thể khôi phục

6. Rút / xóa tài khoản thành viên
→ Toàn bộ coupon chưa dùng bị mất, không được khôi phục kể cả khi đăng ký lại

Trạng thái coupon (Coupon Status)

- BE (Backend)
  • Available: Coupon còn hạn và chưa sử dụng
  • Pending: Đã thanh toán thành công, chờ xác nhận cuối từ cổng thanh toán (PG)
  • Used: Đã check-out, hoàn tất quyết toán → coupon được xem là đã dùng
  • Expired: Hết hạn sử dụng
- FE (Frontend – B2C UI)
  • Coupon ở trạng thái Pending / Used / Expired 👉 không hiển thị trên giao diện B2C
  • Available: Coupon còn hạn và có thể sử dụng
  • Disabled: Coupon còn hạn nhưng không đủ điều kiện sử dụng
  • (ví dụ: không đúng phạm vi áp dụng, chưa đạt số tiền tối thiểu, sai ngày check-in, không cho phép stack, …)

Files

picture938-1.png (194 KB) picture938-1.png ziniy Kang, 12/19/2025 02:14 AM
picture938-2.png (37 KB) picture938-2.png ziniy Kang, 12/19/2025 02:14 AM
picture059-1.png (208 KB) picture059-1.png ziniy Kang, 01/08/2026 06:19 AM
picture511-1.png (70.1 KB) picture511-1.png ziniy Kang, 01/12/2026 02:41 AM

Subtasks 73 (9 open64 closed)

기능(Feature) #1798: [Plan] B2C Online Coupon완료성공(Resolve)Lexi Kim10/02/202511/21/2025

Actions
기능(Feature) #2429: [Design] B2C Online Coupon완료성공(Resolve)Eric Quach11/24/202512/16/2025

Actions
기능(Feature) #2751: PC신규(New)12/26/202502/26/2026

Actions
기능(Feature) #2707: 6. PC_Coupon Room-Type Hotel download완료(Done)harry harry01/16/202601/21/2026

Actions
기능(Feature) #2750: 10. PC_Coupon Get (selecting room type)완료(Done)Mon Nguyen01/20/202601/20/2026

Actions
기능(Feature) #2789: 6. PC_Coupon download API완료(Done)Mon Nguyen01/16/202601/19/2026

Actions
기능(Feature) #2964: Coupon Save Coupon Download API완료(Done)Mon Nguyen01/21/202601/21/2026

Actions
기능(Feature) #2977: API update logic minus allotment coupon when claim follow type coupon완료(Done)Mon Nguyen01/21/202601/21/2026

Actions
기능(Feature) #2782: 1. PC_Mypage_My coupon진행(Doing)harry harry01/12/202601/20/2026

Actions
기능(Feature) #2682: 1. PC_Mypage_My coupon > Simple view 완료(Done)John Lee01/14/202601/16/2026

Actions
기능(Feature) #2684: 1. PC_Mypage_My coupon > Detail view 완료(Done)John Lee01/14/202601/16/2026

Actions
기능(Feature) #2685: 1. PC_Mypage_My coupon > No coupon UI완료(Done)John Lee01/14/202601/16/2026

Actions
기능(Feature) #2701: 2. PC_Coupon Code Register피드백(Feedback)Tracy Truong01/14/202601/19/2026

Actions
기능(Feature) #2781: API My-Page List완료성공(Resolve)Joo dev01/12/202601/12/2026

Actions
기능(Feature) #2953: PC_Coupon Code Register- Mapping API완료(Done)John Lee01/20/202601/20/2026

Actions
기능(Feature) #2785: 4. PC_Reservation History Page완료(Done)harry harry01/15/202601/20/2026

Actions
기능(Feature) #2748: 8. PC_Reservation History_Reservation Detail완료(Done)Mon Nguyen01/15/202601/16/2026

Actions
기능(Feature) #2749: 9. PC_Cancellation History완료(Done)Mon Nguyen01/20/202601/20/2026

Actions
기능(Feature) #2790: 8. API Reservation Coupon History완료(Done)Mon Nguyen01/20/202601/20/2026

Actions
기능(Feature) #2796: 7. PC_Payment Page신규(New)harry harry12/26/202502/25/2026

Actions
기능(Feature) #2741: 7. PC_Payment - Apply Coupon_3-1-1. default / 3-1-2. non-member완료(Done)Mon Nguyen12/26/202512/29/2025

Actions
기능(Feature) #2742: 7. PC_Payment - Apply Coupon_3-2-1. Auto-apply Max Discount / 3-2-3. Apply max discount-no available coupon완료(Done)Dante Le02/10/202602/10/2026

Actions
기능(Feature) #2744: 7. PC_Payment - Apply Coupon_Select Modal완료(Done)Dante Le02/25/202602/25/2026

Actions
기능(Feature) #2747: 7. PC_Payment - Apply Coupon_When Coupon 1 and 2 are applied, but coupon 1 is cancelled완료(Done)Dante Le02/11/202602/11/2026

Actions
기능(Feature) #2797: 7. PC_Payment - Apply Coupon_Select Modal_Card Animation완료(Done)harry harry01/06/202601/06/2026

Actions
기능(Feature) #2798: API call min discount amount coupon완료(Done)John Lee12/29/202501/12/2026

Actions
기능(Feature) #2799: API check apply coupon(validate time, time use, coupon useYN)완료(Done)Mon Nguyen01/19/202601/19/2026

Actions
기능(Feature) #2800: API Booking Payment coupon완료(Done)Joo dev01/15/202601/16/2026

Actions
기능(Feature) #2914: 7. PC_Payment - Apply Coupon - Mapping API완료(Done)Tom Dong01/26/202601/26/2026

Actions
기능(Feature) #2951: PC_Payment - Auto select coupon- Mapping API완료(Done)John Lee01/20/202601/20/2026

Actions
기능(Feature) #2969: PC_Payment - Mapping API Apply Coupon_Select Modal완료(Done)Dante Le01/28/202601/28/2026

Actions
기능(Feature) #2974: API Get Coupon Use With User B2C완료(Done)Dante Le01/21/202601/28/2026

Actions
기능(Feature) #2945: Generate PC_Payment Page완료(Done)Tom Dong01/19/202601/19/2026

Actions
QA #3053: [DEV - B2C Coupon] Payment page - issue related to enter coupon완료(Done)Dante Le02/26/202602/26/2026

Actions
QA #3056: [DEV] Round amount issue완료(Done)Joo dev02/24/202602/24/2026

Actions
QA #3062: [DEV] Inconsistent information displayed on coupon card on My coupon page & Payment page완료(Done)Dante Le02/26/202602/26/2026

Actions
QA #3071: [DEV] Rounding USD 보류(Pending)Joo dev02/24/202602/24/2026

Actions
기능(Feature) #2755: MO신규(New)ziniy Kang01/08/202602/10/2026

Actions
기능(Feature) #2784: 1. MO_Mypage_My coupon Page진행(Doing)harry harry01/13/202601/23/2026

Actions
기능(Feature) #2686: 1. MO_Mypage_My coupon 확인(Confirmed)John Lee01/15/202601/20/2026

Actions
기능(Feature) #2698: 1. MO_Mypage_My coupon > Simple view 완료(Done)John Lee01/15/202601/20/2026

Actions
기능(Feature) #2699: 1. MO_Mypage_My coupon > Detail view 완료(Done)John Lee01/15/202601/20/2026

Actions
기능(Feature) #2700: 1. MO_Mypage_My coupon > No coupon UI완료(Done)John Lee01/23/202601/23/2026

Actions
기능(Feature) #2702: 2. MO_Coupon Code Register완료(Done)Mon Nguyen01/14/202601/19/2026

Actions
기능(Feature) #2807: 7. MO_Payment - Apply Coupon_Select Modal_Card Animation완료(Done)harry harry01/13/202601/13/2026

Actions
기능(Feature) #2954: MO_Coupon Code Register - Mapping API완료(Done)John Lee01/21/202601/21/2026

Actions
기능(Feature) #2791: 4. MO_Reservation History Page완료(Done)harry harry01/20/202601/20/2026

Actions
기능(Feature) #2704: 4. MO_Reservation History완료(Done)Mon Nguyen01/20/202601/20/2026

Actions
기능(Feature) #2706: 5. MO_Cancellation history완료(Done)Mon Nguyen01/20/202601/20/2026

Actions
기능(Feature) #2792: 10. MO_Coupon Room-Type Hotel Page완료(Done)harry harry01/22/202601/23/2026

Actions
기능(Feature) #2759: 10. MO_Coupon Get (selecting room type)완료(Done)Joo dev01/22/202601/23/2026

Actions
기능(Feature) #2806: 7. MO_Payment - Page완료(Done)harry harry01/08/202602/10/2026

Actions
기능(Feature) #2752: 7. MO_Payment - Apply Coupon_3-1-1. default / 3-1-2. non-member완료(Done)Mon Nguyen01/08/202601/09/2026

Actions
기능(Feature) #2753: 7. MO_Payment - Apply Coupon_3-2-1. Auto-apply Max Discount / 3-2-3. Apply max discount-no available coupon완료(Done)Dante Le02/10/202602/10/2026

Actions
기능(Feature) #2754: 7. MO_Payment - Apply Coupon_Select Modal완료(Done)Dante Le02/06/202602/09/2026

Actions
기능(Feature) #2756: 7. MO_Payment - Apply Coupon_When Coupon 1 and 2 are applied, but coupon 1 is cancelled완료(Done)Dante Le02/05/202602/09/2026

Actions
기능(Feature) #2913: 7. MO_Payment - Apply Coupon - Mapping API완료(Done)Joo dev01/26/202601/28/2026

Actions
기능(Feature) #2952: 7. MO_Payment - Auto select coupon- Mapping API완료(Done)John Lee01/21/202601/21/2026

Actions
기능(Feature) #2970: MO_Payment - Mapping API Apply Coupon_Select Modal완료(Done)Dante Le

Actions
기능(Feature) #2946: Generate MO_Payment - Page완료(Done)Tom Dong01/19/202601/19/2026

Actions
기능(Feature) #2760: Admin신규(New)ziniy Kang12/30/202512/31/2025

Actions
기능(Feature) #2761: 11_Coupon Statistics완료(Done)Mon Nguyen12/31/202512/31/2025

Actions
기능(Feature) #2762: 11_Coupon Statistics > SEQ확인(Confirmed)Mon Nguyen12/30/202512/30/2025

Actions
기능(Feature) #2763: 12.Booking Detail > Selling rate확인(Confirmed)Mon Nguyen12/30/202512/31/2025

Actions
기능(Feature) #2764: 13. Seller Settlement완료(Done)Mon Nguyen12/31/202512/31/2025

Actions
기능(Feature) #2780: Create DB B2C Coupon완료(Done)harry harry12/25/202512/25/2025

Actions
기능(Feature) #2801: [IT] Meeting B2C Online Coupon완료성공(Resolve)harry harry12/25/202501/29/2026

Actions
기능(Feature) #2802: [IT] Meeting B2C Online Coupon완료성공(Resolve)Joo dev12/25/202512/25/2025

Actions
기능(Feature) #2803: [IT] Meeting B2C Online Coupon완료성공(Resolve)John Lee12/25/202512/25/2025

Actions
기능(Feature) #2804: [IT] Meeting B2C Online Coupon완료성공(Resolve)Dante Le01/29/202601/29/2026

Actions
기능(Feature) #2805: [IT] Metting B2C Online Coupon완료성공(Resolve)Mon Nguyen12/25/202512/25/2025

Actions
기능(Feature) #2940: Create Data Test B2C Coupon완료(Done)John Lee01/22/202601/23/2026

Actions
기능(Feature) #3127: [PC/MO] Update Logic Sort Coupon Online피드백(Feedback)Joo dev02/25/202602/26/2026

Actions
Actions #1

Updated by ziniy Kang 3 months ago

  • Description updated (diff)
Actions #2

Updated by ziniy Kang 3 months ago

  • Assignee set to ziniy Kang
Actions #3

Updated by ziniy Kang 3 months ago

Actions #4

Updated by ziniy Kang 3 months ago

  • Description updated (diff)
Actions #5

Updated by ziniy Kang 3 months ago

  • Subject changed from [DEV] B2C Online Coupon to ** B2C Online Coupon
Actions #6

Updated by ziniy Kang 3 months ago

  • Description updated (diff)
Actions #7

Updated by ziniy Kang 2 months ago

Plan update: 2026.01.08
[Payment Amount Adjustment] If the coupon amount exceeds the ‘Product Amount’, the ‘Total Payment Amount’ should be se to ‘0’ to prevent a negative value.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 50 MB)