View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006057||Taler||cashier (Android App)||public||2020-01-22 19:34||2020-02-19 21:40|
|Priority||normal||Severity||feature||Reproducibility||have not tried|
|Target Version||Fixed in Version|
|Summary||0006057: Cashier Balance and Withdraw Screen|
|Description||The main screen shows the user's current bank balance (obtainable via history API from the bank) and a big 'withdraw' button.|
The "withdraw" screen allows the user to enter an amount. The currency (EUR, USD, etc.) should be obtained from the bank (we probably need another API for that). For the amount itself there could be some shortcuts configured per currency (i.e. for EUR 5, 10, 20, 50) and a numeric data entry similar to that for phone numbers. There should also be a "reset" button to clear the entire amount entered, and the
"back" button should go back to the main screen. Once a non-zero amount was entered, the "confirm" button should go to the QR code view.
If a previous 'withdraw' operation was performed, an optional area should show "Withdrawal successful".
The main API required to implement this is documented at:
https://docs.taler.net/core/api-bank.html in seciton 1.7.1.
Note that the cashier app will need to repeatedly perform the GET operation (poll) while the QR code is shown to detect that the 'transfer_done' changed. We will enhance the API in the future to enable long polling, however the Python bank today does not support long polling.
|Tags||No tags attached.|