View Issue Details

IDProjectCategoryView StatusLast Update
0005863Talermerchant backendpublic2024-01-12 13:04
ReporterFlorian Dold Assigned ToFlorian Dold Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PriorityhighSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.6Fixed in Version0.6 
Summary0005863: trying to pay again for a refunded contract crashes the merchant
DescriptionIt looks like the wallet is doing something wrong with payment re-playing in this case, but that should not crash the merchant!

#0 0x00007f34151907bb in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f341517b535 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007f34153e4a29 in GNUNET_abort_ () at common_logging.c:292
#3 0x0000560af9ff4e24 in check_payment_sufficient (pc=0x560afaf10480) at taler-merchant-httpd_pay.c:728
#4 0x0000560af9ff938b in begin_transaction (pc=0x560afaf10480) at taler-merchant-httpd_pay.c:1997
#5 0x0000560af9ff9749 in handler_pay_json (connection=0x560afaf143f0, root=0x560afad7d1c0, pc=0x560afaf10480)
    at taler-merchant-httpd_pay.c:2113
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Florian Dold

2019-08-31 11:51

manager   ~0014827

The problem is actually that the refund gets computed incorrectly and ends up being higher than even the total contract amount.

Florian Dold

2019-08-31 12:10

manager   ~0014828

Fixed in
4b47e468889379e97da465bbc13f9a7314d8c6f2
8d841f8c99751590333c7f34ce96f51dcd9e27b6

Issue History

Date ModifiedUsernameFieldChange
2019-08-30 15:55Florian DoldNew Issue
2019-08-30 15:55Florian DoldStatusnew => assigned
2019-08-30 15:55Florian DoldAssigned To => Christian Grothoff
2019-08-31 09:10Florian DoldPrioritynormal => high
2019-08-31 09:10Florian DoldSeverityminor => crash
2019-08-31 09:10Florian DoldProduct Version => git (master)
2019-08-31 09:10Florian DoldTarget Version => 0.6
2019-08-31 11:51Florian DoldNote Added: 0014827
2019-08-31 12:10Florian DoldAssigned ToChristian Grothoff => Florian Dold
2019-08-31 12:10Florian DoldStatusassigned => informing
2019-08-31 12:10Florian DoldResolutionopen => fixed
2019-08-31 12:10Florian DoldNote Added: 0014828
2019-12-20 18:11Christian GrothoffFixed in Version => 0.6
2019-12-20 18:11Christian GrothoffStatusinforming => closed
2024-01-12 13:04Christian GrothoffCategorymerchant backend API (C) => mechant backend
2025-03-22 13:09Christian GrothoffCategorymechant backend => merchant backend