Commit 9e54f6d
fix: use zero-decimal-aware conversion for no-show fee acknowledgment text
Zero-decimal currencies (e.g. JPY, KRW) must not be divided by 100 when
converting from Stripe's smallest unit. The previous `amount / 100` caused
¥1,000 to display as ¥10 in the HOLD payment acknowledgment checkbox.
Replace the hardcoded division with the existing
`convertFromSmallestToPresentableCurrencyUnit` utility which already handles
zero-decimal currencies correctly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 17af50b commit 9e54f6d
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
86 | | - | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
0 commit comments