View Issue Details

IDProjectCategoryView StatusLast Update
0010692Talerwallet-corepublic2026-07-28 20:20
ReporterFlorian Dold Assigned ToFlorian Dold  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Target Version1.8 
Summary0010692: wallet-core should return proper error code when no purchase is found for refund
DescriptionThis happens when the wallet scans a refund QR code for something it didn't purchase in the first place.
TagsNo tags attached.

Activities

Florian Dold

2026-07-28 20:20

manager   ~0029281

commit 32de0432c0a9f050cba1eb44d93388fe28687a67 (HEAD -> master, dev/phoenix-bot/refund-uri-unknown-order)
Author: Florian Dold <dold@taler.net>
Date: Tue Jul 28 19:56:58 2026 +0200

    harness: check the error code for a refund URI with no purchase
    
    Issue: https://bugs.taler.net/n/10692

commit 6257e84ab59fbeb409ac74585b2fec6e6e9256f5
Author: Florian Dold <dold@taler.net>
Date: Tue Jul 28 19:56:54 2026 +0200

    wallet-core: use a proper error code when a refund URI has no purchase
    
    Scanning a refund QR code for an order bought with a different wallet threw a
    bare Error, which reached clients as WALLET_UNEXPECTED_EXCEPTION with a stack
    trace and was indistinguishable from an internal failure.
    
    Issue: https://bugs.taler.net/n/10692

commit ac3a62fde6bae894ed842b1b013b134f8727737d
Author: Florian Dold <dold@taler.net>
Date: Tue Jul 28 19:56:50 2026 +0200

    util: add the WALLET_PURCHASE_NOT_FOUND error code
    
    Regenerated from the GANA registry, which also brings in the merchant codes
    2535-2539 and two description fixes added upstream since the last sync.
    

Issue History

Date Modified Username Field Change
2025-11-28 22:21 Florian Dold New Issue
2026-02-16 23:54 Christian Grothoff Status new => confirmed
2026-02-16 23:54 Christian Grothoff Target Version => 1.8
2026-07-28 20:20 Florian Dold Assigned To => Florian Dold
2026-07-28 20:20 Florian Dold Status confirmed => resolved
2026-07-28 20:20 Florian Dold Resolution open => fixed
2026-07-28 20:20 Florian Dold Note Added: 0029281