#wunsunnn_unexpected
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1309365259475095683
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
This is the event object
Can you look at the Balance Transaction inside the Charge?
Okie looking...
Hmm this one expired
Can you provide a Checkout Sesison which was paid?
Okie so total discount = 1300, splited by the first and the second items (2300 vs 2000)
- The first item is 2300, discounted 695.
- The second item is 2000, discounted 605.
Then the tax is calculated as:
- Tax = (2300-695) * 10% = 160.5, round to 161
- Tax = (2000-605) * 10% = 139.5, round to 140
Total tax = 161 + 140 = 301
This is because we calculate tax on each item level