View Issue Details

IDProjectCategoryView StatusLast Update
0005106Talermerchant backendpublic2017-07-12 09:47
ReporterMarcello Stanisci Assigned ToMarcello Stanisci  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Summary0005106: Check signature in /refund testcase
DescriptionRight now, (multi-coins) /refund testcase checks that the total refund amount has been covered and that each refund portion is only taken from coins used in the expected payment.

Merchant signature needs to be checked as well.
TagsNo tags attached.

Activities

Marcello Stanisci

2017-07-12 09:47

reporter   ~0012328

This issue makes little sense. Because of the random way the backend spreads the refund amount among the coins, the testcase has NO WAY to associate a coin X to a refund amout Y.

This makes impossible for the testcase to locally reconstruct a likely response and then match it against the one got from the backend.

A not-cool workaround could be to reconstruct all the possible responses and then see if the backend response matches one among those, but this sounds quite wasteful ...

Issue History

Date Modified Username Field Change
2017-07-11 17:34 Marcello Stanisci New Issue
2017-07-11 17:34 Marcello Stanisci Status new => assigned
2017-07-11 17:34 Marcello Stanisci Assigned To => Marcello Stanisci
2017-07-12 09:47 Marcello Stanisci Status assigned => closed
2017-07-12 09:47 Marcello Stanisci Resolution open => no change required
2017-07-12 09:47 Marcello Stanisci Note Added: 0012328
2025-03-22 14:09 Christian Grothoff Category mechant backend => merchant backend