-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Fiat value in checkout #19
Comments
Where is this fiat set, and is there a global variable we can tap to? Showing a fiat value is fairly straight forward, i just need to know what currency! |
@talvasconcelos Lines 31 to 37 in ba0496e
That would not work for onchain tough, so you could call the service that does the fiat conversion directly. https://github.com/lnbits/lnbits/blob/dev/lnbits/core/services.py#L66 |
I thought that what was asked was to just display the value on the charge in fiat (@arbadacarbaYK ?)! not defining the charge in fiat terms, that's another beast, and can cause some issues if for example i have a charge that expires in 24h! So there's a currency property on g.wallet? I can use that... Convert at mount and display the fiat value, if exists in the wallet! |
If the charge is only onchain, that doesn't work! On setting fiat tracking, there could/should be a global variable with that currency! It would make things easier for using at extensions. |
Well, there is. |
its was not just about displaying, also about storing in the csv - it belongs to Because it has gotten so many unconnected PR i lost track. lnbits/lnbits#1852 |
Please show fiat-value of preferred currency in checkout.
Most merchants but also users have set their wallets and online-shops to a fiat-currency and the UX breaks here. That mean you cannot check easily if the amount of sats charged is correct.
This goes especially for NFC payments, where you do not see the fiat-value again in your wallet before proceeding to pay.
The text was updated successfully, but these errors were encountered: