결함(Bug) #1864
closed[BE] Round Currency When Booking B2C
Added by harry harry 5 months ago. Updated about 2 months ago.
Description
Thông tin hotel: 1009144 | Mon Hotel Ba Den Mountain
Môi trường reproduce: Dev - B2C thanh toán OnePay
Tiền gốc của Contract RatePlan là KRW
Cần fix đoạn sau khi parse tiền từ KRW sang VND cho BillingProductAmount không nên round lên
Files
| picture606-4.png (237 KB) picture606-4.png | harry harry, 10/08/2025 03:15 AM | ||
| picture606-5.png (233 KB) picture606-5.png | harry harry, 10/08/2025 03:15 AM | ||
| picture944-1.png (229 KB) picture944-1.png | Tracy Truong, 12/15/2025 06:30 AM | ||
| picture944-2.png (228 KB) picture944-2.png | Tracy Truong, 12/15/2025 06:30 AM | ||
| picture079-1.png (218 KB) picture079-1.png | Tracy Truong, 12/17/2025 01:40 AM | ||
| picture079-2.png (102 KB) picture079-2.png | Tracy Truong, 12/17/2025 01:40 AM | ||
| picture079-3.png (43.2 KB) picture079-3.png | Tracy Truong, 12/17/2025 01:40 AM | ||
| picture458-1.png (82.8 KB) picture458-1.png | Tracy Truong, 12/18/2025 01:33 AM | ||
| picture458-2.png (47.4 KB) picture458-2.png | Tracy Truong, 12/18/2025 01:33 AM | ||
| picture458-3.png (64.5 KB) picture458-3.png | Tracy Truong, 12/18/2025 01:33 AM | ||
| picture677-1.png (53.3 KB) picture677-1.png | Tracy Truong, 12/30/2025 03:59 AM | ||
| picture677-2.png (31.3 KB) picture677-2.png | Tracy Truong, 12/30/2025 03:59 AM | ||
| picture677-3.png (186 KB) picture677-3.png | Tracy Truong, 12/30/2025 03:59 AM | ||
| picture315-1.png (120 KB) picture315-1.png | Tracy Truong, 01/15/2026 09:44 AM | ||
| picture315-2.png (175 KB) picture315-2.png | Tracy Truong, 01/15/2026 09:44 AM |
Updated by harry harry 5 months ago
- Subject changed from [BE] Round Current When Booking B2C to [BE] Round Currency When Booking B2C
Updated by Mon Nguyen 3 months ago
- Due date set to 12/08/2025
- Status changed from 진행(Doing) to 완료(Done)
- Start date set to 12/08/2025
- % Done changed from 50 to 100
- Estimated time set to 3.00 h
- Build env. set to Dev
Done code, waiting test on dev env, now stucking the payment with OnePay and waiting fixed before continue test
Updated by Mon Nguyen 3 months ago
- Status changed from 완료(Done) to QA test
- Assignee changed from Mon Nguyen to Tracy Tran
Dear Mrs. Tracy Tran
Please help me double check this case on Dev env
This problem wrong between the max cancellation policy charge difference with the billing Sum Amount
The main reason come from the round function after exchange to billing Sum Amount, so we have to test around the parse from another hotel currency to our VND which test fully paid by OnePay
Thank you
Updated by Tracy Truong 3 months ago
- File picture944-1.png picture944-1.png added
- File picture944-2.png picture944-2.png added
- Status changed from QA test to 완료실패(Failed)
- Assignee changed from Tracy Tran to Mon Nguyen
BK test: K25121510023H01
I still see a discrepancy between the payment amount and the cancellation fee.
payment amount: VND 222,154
CXL charge: VND VND 222,153
Updated by Mon Nguyen 3 months ago
- Status changed from 완료실패(Failed) to QA test
- Assignee changed from Mon Nguyen to Tracy Tran
Dear Mrs. Tracy Tran
Please help me double check this task again one more time
Thank you so much
Updated by Tracy Truong 3 months ago
- File picture079-1.png picture079-1.png added
- File picture079-2.png picture079-2.png added
- File picture079-3.png picture079-3.png added
- Status changed from QA test to 완료실패(Failed)
- Assignee changed from Tracy Tran to Mon Nguyen
Test BK: K25121710002H01
Payment amount: VND 33,985
CXl: VND 33,985
Amount is matched, ok
Please check 1 more issue
Hotel: Test hotel 02 - 1009251
Contract CUR: KRW
But in CXL policy on BK details, it's displayed rate of KRW with CUR sign is VND
Updated by Mon Nguyen 3 months ago
- Status changed from 완료실패(Failed) to QA test
- Assignee changed from Mon Nguyen to Tracy Tran
Dear Mrs. Tracy Tran
Please help me double check with more case around the cancellation policy
That reason come from the config data with the same hotel but that trader and another contract difference currency
And I already round down for the search & cancellation policy all there follow the search rooms price, mean when you search room are "VND 222,153" then max cancellation policy and total price are the same too
Thank you
Updated by Tracy Truong 3 months ago
- File picture458-1.png picture458-1.png added
- File picture458-2.png picture458-2.png added
- File picture458-3.png picture458-3.png added
- Status changed from QA test to 피드백(Feedback)
- Assignee changed from Tracy Tran to Mon Nguyen
As your feedback, I already make 1 new hotel 1009261 - Tracy Test - KR Hotel with 1 CUR only
Bk test: K25121810001H01
Payment amount: VND 21,241
CXl amount: VND 21,241
The CUR displayed on BK details is solved
=> ok
but I have question,in case data config as above, can we fix it or not?
Updated by Mon Nguyen 3 months ago
Tracy Truong wrote in #note-14:
As your feedback, I already make 1 new hotel 1009261 - Tracy Test - KR Hotel with 1 CUR only
Bk test: K25121810001H01
Payment amount: VND 21,241
CXl amount: VND 21,241
The CUR displayed on BK details is solved
=> ok
but I have question,in case data config as above, can we fix it or not?
Dear Tracy Truong
Please ignore that case can't have
Thank you
Updated by Mon Nguyen 2 months ago
- Status changed from 피드백(Feedback) to QA test
- Assignee changed from Mon Nguyen to Tracy Truong
- Build env. changed from Dev to Staging
Dear Tracy Truong
Please help me double check on STG env
Thank you
Updated by Tracy Truong 2 months ago
- File picture677-1.png picture677-1.png added
- File picture677-2.png picture677-2.png added
- File picture677-3.png picture677-3.png added
- Status changed from QA test to 완료(Done)
- Assignee changed from Tracy Truong to Mon Nguyen
Test BK: K25123010952H01
Payment amount: VND 20,991
CXl amount: VND 20,991
=> tested on STG, ok
Updated by ziniy Kang 2 months ago
- Status changed from 완료(Done) to 확인(Confirmed)
Updated by ziniy Kang about 2 months ago
- Status changed from 확인(Confirmed) to QA test
- Assignee changed from Mon Nguyen to Tracy Truong
- Build env. changed from Staging to Prod
Updated by Tracy Truong about 2 months ago
- File picture315-1.png picture315-1.png added
- File picture315-2.png picture315-2.png added
- Status changed from QA test to 완료성공(Resolve)
- Assignee changed from Tracy Truong to Mon Nguyen
Test BK : K26011512314H01
Payment amount: VND 20,841
CXl amount: VND 20,841
=> tested on PROD, ok