KevinKoobs / xBuyTangem-issues

0 stars 0 forks source link

Total price unclear #6

Closed NetScr1be closed 10 months ago

NetScr1be commented 10 months ago

Issue Description

The line item prices and total don't match.

Even before the Shipping Country was selected the Total was ($CAD?) $104.

Selecting the country (Canada) did not change the total

N.B. Xumm Default Currency = CAD

Category Card Price Reserve Coverage Shipping Total
Actual $41 $8.71 $41 $89.71
App $41 $8.71 $41 $103.89

Steps to Reproduce

  1. Open xApp
  2. Select Order Cards
  3. Select Quantity
  4. Select Reserve Coverage

image

Error Messages

N/A

Account Address

rpGhdshAMiVYPei3FtusVTPndijbpdATna

Device Info

KevinKoobs commented 10 months ago

In the calculation, you're missing the 15 XRP you've added to your card. With the rounding in the small pills (hence the ~ sign) the amount adds up again

KevinKoobs commented 10 months ago

As constructed with Patrick: The problem lies in the fact that the ~ $ 8.75 is not updating when you change the amount of spendable XRP. So I'm going to change that.

KevinKoobs commented 10 months ago

Will be fixed in #7