View Issue Details

IDProjectCategoryView StatusLast Update
0004173Talermerchant backendpublic2016-02-17 16:35
ReporterFlorian Dold Assigned ToMarcello Stanisci  
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.

Activities

Marcello Stanisci

2016-02-16 20:41

reporter   ~0010141

added in aee31d8c21

Issue History

Date Modified Username Field Change
2016-02-15 18:41 Florian Dold New Issue
2016-02-15 18:41 Florian Dold Status new => assigned
2016-02-15 18:41 Florian Dold Assigned To => Marcello Stanisci
2016-02-16 20:41 Marcello Stanisci Note Added: 0010141
2016-02-16 20:41 Marcello Stanisci Status assigned => resolved
2016-02-16 20:41 Marcello Stanisci Resolution open => fixed
2016-02-17 16:34 Christian Grothoff Product Version => 0.0
2016-02-17 16:34 Christian Grothoff Fixed in Version => 0.0
2016-02-17 16:34 Christian Grothoff Target Version => 0.0
2016-02-17 16:35 Christian Grothoff Status resolved => closed
2025-03-22 14:09 Christian Grothoff Category mechant backend => merchant backend