View Issue Details

IDProjectCategoryView StatusLast Update
0011798Talerwallet-corepublic2026-09-16 13:16
ReporterMarcS Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product Version1.7 
Summary0011798: checkPayForTemplate should return amountAvailable
DescriptionWhen the user scans a pay-template talerURI, the amount can be nil, which means that the user can type in the amount to pay.
For this, we should show the user how much money they have available.
Instead of creating a new call (like getMaxPeerPushDebitAmount), wallet-core should always (mandatory) return "amountAvailable" (or "maxAmountAvailable") directly from checkPayForTemplate - not only if the requested amount is nil. If a fixed amount is set, wallets can immediately compare it with amountAvailable and show whether the payment is possible or not. If the user can type in an amount, wallets can limit it to amountAvailable.

Future: merchants can return multiple accepted currencies (array). The user first needs to choose an exchange, then type in the amount. Thus amountAvailable also should become an array. Consider using scopeIdx (0011651)
TagsNo tags attached.

Relationships

related to 0011651 feedbackMarcS wallet-core should tag amounts with scopeIdx 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-09-16 13:15 MarcS New Issue
2026-09-16 13:16 MarcS Relationship added related to 0011651