Project

General

Profile

Actions

결함(Bug) #1864

closed

[BE] Round Currency When Booking B2C

Added by harry harry 5 months ago. Updated about 2 months ago.

Status:
완료성공(Resolve)
Priority:
보통(Normal)
Assignee:
Start date:
12/08/2025
Due date:
12/08/2025
% Done:

100%

Estimated time:
3.00 h
Spent time:
Part:
Build env.:
Prod

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
Actions #1

Updated by harry harry 5 months ago

  • Subject changed from [BE] Round Current When Booking B2C to [BE] Round Currency When Booking B2C
Actions #2

Updated by John Lee 5 months ago

  • Status changed from 신규(New) to 진행(Doing)
Actions #3

Updated by John Lee 5 months ago

  • Status changed from 진행(Doing) to 신규(New)
Actions #4

Updated by John Lee 3 months ago

  • Status changed from 신규(New) to 진행(Doing)
Actions #5

Updated by John Lee 3 months ago

K25092610005H01

Actions #6

Updated by John Lee 3 months ago

  • % Done changed from 0 to 50
Actions #7

Updated by John Lee 3 months ago

  • Assignee changed from John Lee to Mon Nguyen
Actions #8

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

Actions #9

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

Actions #10

Updated by Tracy Truong 3 months ago

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

Actions #11

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

Actions #12

Updated by Tracy Truong 3 months ago

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

Actions #13

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

Actions #14

Updated by Tracy Truong 3 months ago

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?

Actions #15

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

Actions #16

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

Actions #17

Updated by Tracy Truong 2 months ago

Test BK: K25123010952H01
Payment amount: VND 20,991
CXl amount: VND 20,991
=> tested on STG, ok

Actions #18

Updated by ziniy Kang 2 months ago

  • Status changed from 완료(Done) to 확인(Confirmed)
Actions #19

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
Actions #20

Updated by Tracy Truong about 2 months ago

Test BK : K26011512314H01
Payment amount: VND 20,841
CXl amount: VND 20,841
=> tested on PROD, ok

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 50 MB)