summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-02-17 05:01:41 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-02-17 05:01:41 +0100
commit524387973f4aae3ee4cf5813131b504b039622a9 (patch)
treefb6a624f25426e7dac8b5cc5720821bac9ae57f9
parent3ec1729010fa03051f303d957297d7d7e0b03eba (diff)
downloaddocs-524387973f4aae3ee4cf5813131b504b039622a9.tar.gz
docs-524387973f4aae3ee4cf5813131b504b039622a9.tar.bz2
docs-524387973f4aae3ee4cf5813131b504b039622a9.zip
grammar/precision
-rw-r--r--example-essay-store.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/example-essay-store.rst b/example-essay-store.rst
index 585ca22a..1da9eb62 100644
--- a/example-essay-store.rst
+++ b/example-essay-store.rst
@@ -18,10 +18,10 @@ payment page.
1. The server checks the status of the the essay with the name `name` in the server-side
session state
- * If the essay is marked as payed for the client, display the essay.
+ * If the essay is marked as payed, display the essay.
* Otherwise proceed with step 2
-2. The server checks if the `tid` query parameter is present
+2. The server checks if the `tid` and `timestamp` query parameters are present
* If `tid` and `timestamp` are present, restore the contract for the essay (using `tid` as
transaction id in the contract and `timestamp` as timestamp) and emit the `taler-execute-contract` DOM
@@ -35,9 +35,10 @@ payment page.
In step 2, the `taler-execute-contract` event has the following parameters:
* `H_contract`: hash of the contract that was restored
-* `payment_url`: The internal URL `/pay?H_contract=...` of the essay store, will set the server-side session state
- for the article associated with the contract hash on successful coin deposit. When the contract is
- fetched, the contract hash is associated with the article name in the server-side session state.
+* `payment_url`: The internal URL `/pay?H_contract=...` of the essay store,
+ will set the server-side session state for the article associated with the
+ contract hash on successful coin deposit. The contract hash is associated
+ with the article name in the server-side session state when the contract is restored.
* `offer_url`: Link to a teaser page (`/teaser?name=...`), which also contains a link to the article
page, without the `tid` parameter.