View Issue Details

IDProjectCategoryView StatusLast Update
0007299Talerwallet-corepublic2022-11-04 19:52
ReporterChristian Grothoff 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
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Target Version0.9Fixed in Version0.9 
Summary0007299: taler-wallet core attempts to pay even if wire method mismatches
DescriptionThe contract terms contain the wire method. Some tests set it to 'x-taler-bank', even though the exchange (as seen in /wire) only supported 'sepa'. The wallet nevertheless attempts to pay. The result is not pretty. It seems the merchant backend doesn't even forward the payment attempt (after getting /wire), but then doesn't give a good message to the wallet *or* the wallet handles it badly. Not sure which yet... ;-)
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2022-08-11 22:16

manager   ~0019004

Seems this is reproduced by the current test_merchant_product_creation.sh:

2022-08-12T00:15:13.492544+0200 taler-merchant-httpd-227898(JNQGD1MM2HR02JCPZHTD7X9WAG) INFO Exchange supports `iban' as a wire method (but we do not use that one)
2022-08-12T00:15:13.492577+0200 taler-merchant-httpd-227898(JNQGD1MM2HR02JCPZHTD7X9WAG) WARNING Exchange does not support our wire method. Retrying in 1 m
2022-08-12T00:15:28.498586+0200 taler-merchant-httpd-227898(JNQGD1MM2HR02JCPZHTD7X9WAG) INFO Request for `/instances/test/orders/2022.224-030B375NVSCCW/pay' completed with HTTP status 504 (0)

Florian Dold

2022-08-12 08:45

manager   ~0019005

Is this really something that the wallet must check? This seems like the merchant configuration is wrong here and/or the contract terms are invalid. I guess the wallet *could* output a "merchant is misconfigured" message

The wallet currently only uses the wire method to compute wire fees (to potentially cover wire fees when the merchant doesn't cover them). If the merchant specifies a wire method that the exchange doesn't specify, it assumes that these fees are zero.

Florian Dold

2022-09-05 13:39

manager   ~0019090

Fixed and tested in 43b893b8c.

Issue History

Date ModifiedUsernameFieldChange
2022-08-11 22:14Christian GrothoffNew Issue
2022-08-11 22:14Christian GrothoffStatusnew => assigned
2022-08-11 22:14Christian GrothoffAssigned To => Florian Dold
2022-08-11 22:16Christian GrothoffNote Added: 0019004
2022-08-12 08:45Florian DoldNote Added: 0019005
2022-09-05 13:39Florian DoldStatusassigned => informing
2022-09-05 13:39Florian DoldResolutionopen => fixed
2022-09-05 13:39Florian DoldNote Added: 0019090
2022-10-20 08:47Christian GrothoffFixed in Version => 0.9
2022-10-20 08:48Christian GrothoffTarget Version => 0.9
2022-11-04 19:52Christian GrothoffStatusinforming => closed
2023-04-13 18:36Florian DoldCategorywallet (TS core) => wallet-core