diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-10-31 16:27:43 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-10-31 16:27:43 +0100 |
commit | a875828acb66b96fdaa80f24a88ccc69abb29654 (patch) | |
tree | b79a3f7c0de70ef833d9788647ee0ef1f3670a3b /design-documents/007-payment.rst | |
parent | f82d5092cdc8fa3a123404f680b43a937cc6ef11 (diff) | |
download | docs-a875828acb66b96fdaa80f24a88ccc69abb29654.tar.gz docs-a875828acb66b96fdaa80f24a88ccc69abb29654.tar.bz2 docs-a875828acb66b96fdaa80f24a88ccc69abb29654.zip |
clean up use of HTTP status codes
Diffstat (limited to 'design-documents/007-payment.rst')
-rw-r--r-- | design-documents/007-payment.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/design-documents/007-payment.rst b/design-documents/007-payment.rst index 0095d1d7..9a16776d 100644 --- a/design-documents/007-payment.rst +++ b/design-documents/007-payment.rst @@ -40,8 +40,9 @@ When *resource-URL* is requested, the storefront runs the following steps: 1. Extract the *resource name* from the *resource-URL*. 2. Extract the *session-ID* (or null) from the request's validated cookie (for example, by using signed cookies). 3. Extract the *order-ID* (or null) from the request's ``order_id`` cookie. This cookie may optionally be validated. -.. - is "invalid" equivalent to "null"? + + .. + is "invalid" equivalent to "null"? 4. If *session-ID* or *order-ID* is null, assign a fresh session ID and create a new order for *resource name* by doing a ``POST /private/orders`` |