View Issue Details

IDProjectCategoryView StatusLast Update
0004173Talermerchant backendpublic2016-02-17 15:35
ReporterFlorian Dold Assigned ToMarcello Stanisci 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
PriorityhighSeverityblockReproducibilityalways
Status closedResolutionfixed 
Product Version0.0 
Target Version0.0Fixed in Version0.0 
Summary0004173: merchant backend should have a /hash_contract API for contract reconstruction
DescriptionFor all but very simple payment scenarios (like the donation demo), we need to

* reconstruct the full contract from the information in the fulfillment URL (since we typically don't want to store unpaid contracts it in the merchant's DB)
* hash it
* pass on the hash (with other members from struct TALER_ContractPS) to /backend/pay

The second step should be handled by the backend (we don't want to do the JSON canonicalization and hashing in PHP).
Additional InformationVery simple merchants don't need this step, as the customer will just provide the transaction_id, the amount and the contract hash.

This does, however, not allow the merchant to identify other information related to the contract (without resorting to storing it in a database).
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Marcello Stanisci

2016-02-16 19:41

reporter   ~0010141

added in aee31d8c21

Issue History

Date ModifiedUsernameFieldChange
2016-02-15 17:41Florian DoldNew Issue
2016-02-15 17:41Florian DoldStatusnew => assigned
2016-02-15 17:41Florian DoldAssigned To => Marcello Stanisci
2016-02-16 19:41Marcello StanisciNote Added: 0010141
2016-02-16 19:41Marcello StanisciStatusassigned => informing
2016-02-16 19:41Marcello StanisciResolutionopen => fixed
2016-02-17 15:34Christian GrothoffProduct Version => 0.0
2016-02-17 15:34Christian GrothoffFixed in Version => 0.0
2016-02-17 15:34Christian GrothoffTarget Version => 0.0
2016-02-17 15:35Christian GrothoffStatusinforming => closed
2025-03-22 13:09Christian GrothoffCategorymechant backend => merchant backend