diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-09-07 11:24:12 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-09-07 11:24:12 +0200 |
commit | 7389c3226c3ecd836e4a001f072c5d70491ca908 (patch) | |
tree | bd71c63693d4a18a64438b78d676c0347ca9ca43 /example-essay-store.rst | |
parent | e657aaa26546082be601259d22f81c57a0e9ad19 (diff) | |
download | docs-7389c3226c3ecd836e4a001f072c5d70491ca908.tar.gz docs-7389c3226c3ecd836e4a001f072c5d70491ca908.tar.bz2 docs-7389c3226c3ecd836e4a001f072c5d70491ca908.zip |
addressing FIXMEs
Diffstat (limited to 'example-essay-store.rst')
-rw-r--r-- | example-essay-store.rst | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/example-essay-store.rst b/example-essay-store.rst index 8abf4a4d..102e54db 100644 --- a/example-essay-store.rst +++ b/example-essay-store.rst @@ -36,9 +36,15 @@ In particular, the offer URLs have the following format: `https://blog.demo.taler.net/essay/article_title` -The offer URLs trigger the expected interaction with the wallet. - FIXME: describe where the contract is generated! - FIXME: give the pay URL. +The offer URLs trigger the expected interaction with the wallet. In practical terms, the +offer URL returns a HTML page that can either show a pay-form in case Taler is not installed +in the user's browser or download the contract from the merchant. +If the user has Taler installed and wants to pay, the wallet will POST the coins to a URL +of the form: + `https://blog.demo.taler.net/pay?uuid=${contract_hashcode}` +The URL comes with the contract's hashcode because each contract is an entry in +the merchant's state, so it can mark it as ``payed`` whenever it receives coins. + For the essay store, the fulfillment URL matches the initial part of an offer URL, but contains the additional parameters needed to |