From a875828acb66b96fdaa80f24a88ccc69abb29654 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 31 Oct 2020 16:27:43 +0100 Subject: clean up use of HTTP status codes --- design-documents/007-payment.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'design-documents/007-payment.rst') 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`` -- cgit v1.2.3