lnbits-legend/lnbits/core/views
Osvaldo Rosales 581f98b3a3
Add NFC Payment Support and Display Receive Amount in Receive Dialog (#2747)
* feat: add readNfcTag to core wallet

* feat: added payments/ endpoint to pay invoice with lnurlw from nfc tag

* feat: add notifications to nfc read and payment process

* feat: display sat and fiat amount on receive invoice

* feat: add notifications for non-lnurl nfc tags

* removed unnecesary payment updates

* fix: case when lnurlw was already used. lnurl_req status error

* fix: lnurl response status error

* fix: abort nfc reading on receive dialog hid

* feat: dismiss tap suggestion when nfc tag read successfully

* update: NFC supported chip

* remove console.log

* add: function return type

* test: happy path for api_payment_pay_with_nfc

* feat: follow LUD-17, no support for lightning: url schema

* explicit lnurl withdraw for payment

* test: add parametrized tests for all cases of api_payment_pay_with_nfc endpoint

* fix: payment.amount in response comes already in milisats
2024-10-29 23:50:48 +01:00
..
__init__.py refactor: breaking bad 2020-03-08 23:00:41 +01:00
admin_api.py refactor: get_balance_delta and use pydantic model for openapi docs (#2492) 2024-05-13 17:59:29 +02:00
api.py feat: parse nested pydantic models fetchone and fetchall + add shortcuts for insert_query and update_query into Database (#2714) 2024-10-29 09:58:22 +01:00
auth_api.py feat: parse nested pydantic models fetchone and fetchall + add shortcuts for insert_query and update_query into Database (#2714) 2024-10-29 09:58:22 +01:00
extension_api.py feat: parse nested pydantic models fetchone and fetchall + add shortcuts for insert_query and update_query into Database (#2714) 2024-10-29 09:58:22 +01:00
generic.py feat: parse nested pydantic models fetchone and fetchall + add shortcuts for insert_query and update_query into Database (#2714) 2024-10-29 09:58:22 +01:00
node_api.py feat: adhere to ruff's B rules (#2423) 2024-04-17 13:11:51 +02:00
payment_api.py Add NFC Payment Support and Display Receive Amount in Receive Dialog (#2747) 2024-10-29 23:50:48 +01:00
public_api.py refactor: add status column to apipayments (#2537) 2024-07-24 16:47:26 +03:00
tinyurl_api.py feat: adhere to ruff's B rules (#2423) 2024-04-17 13:11:51 +02:00
user_api.py feat: parse nested pydantic models fetchone and fetchall + add shortcuts for insert_query and update_query into Database (#2714) 2024-10-29 09:58:22 +01:00
wallet_api.py feat: parse nested pydantic models fetchone and fetchall + add shortcuts for insert_query and update_query into Database (#2714) 2024-10-29 09:58:22 +01:00
webpush_api.py [test] webpush_api endpoints (#2534) 2024-05-23 23:23:32 +02:00
websocket_api.py feat: add settings.lnbits_running (#2450) 2024-04-22 12:33:53 +03:00