boltcard / bolt-card-pos

MIT License
15 stars 4 forks source link

[BUG] API invoice error - When fiat value is below 1 #14

Closed CerebrumCaelum closed 1 year ago

CerebrumCaelum commented 1 year ago

Add invoice error API unexpected response: ["detail""Failed to create invoice"]

How to reproduce:

  1. Set currency to EUR / USD
  2. Set invoice to EUR / USD
  3. Enter any fiat value below 1 Euro, for example 0.1 Euro
  4. Press Invoice button
  5. Error will show

Value above 1 Euro work fine

robertclarkson commented 1 year ago

This is fixed in https://github.com/boltcard/bolt-card-pos/releases/tag/v0.0.5