lnbits-legend/tests/api
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 test: restructure tests (#2444) 2024-04-19 13:22:06 +02:00
test_admin_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
test_api.py Add NFC Payment Support and Display Receive Amount in Receive Dialog (#2747) 2024-10-29 23:50:48 +01:00
test_auth.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
test_generic.py [feat] Pay to enable extension (#2516) 2024-05-28 12:07:33 +01:00
test_public_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
test_webpush_api.py [test] webpush_api endpoints (#2534) 2024-05-23 23:23:32 +02:00