[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: make paywall payment flow NoJS compa
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: make paywall payment flow NoJS compatible |
Date: |
Mon, 10 Aug 2020 17:11:40 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new 8a3b86d make paywall payment flow NoJS compatible
8a3b86d is described below
commit 8a3b86d72cfd274d78a0bef7776774bef74852c7
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Mon Aug 10 20:41:34 2020 +0530
make paywall payment flow NoJS compatible
---
design-documents/007-payment.rst | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/design-documents/007-payment.rst b/design-documents/007-payment.rst
index dd01b60..83cf01e 100644
--- a/design-documents/007-payment.rst
+++ b/design-documents/007-payment.rst
@@ -19,6 +19,7 @@ Requirements
* A simple API should be offered to shops
* Sharing of links or re-visiting of bookmarks should result in well-defined
behavior instead of random, ugly error messages.
+* The payment flow must degrade gracefully when JavaScript is disabled.
Proposed Solution
=================
@@ -143,13 +144,18 @@ The merchant backend runs the following steps to generate
the HTML page for
4. If *order-ID* identifies an *claimed* and *unpaid* order, run these steps:
- 1. If the order is *claimed* and the *contract-hash* request parameter does
not
+ 1. If the *claim-token* request parameter is given and the *contract-hash*
requesst parameter is
+ not given, redirect to the fulfillment URL of the order. (**Note**: We
do not check
+ the claim token, as the merchant might have already deleted it when the
order is paid,
+ and the fulfillment URL is not considered to be secret/private.)
+
+ 2. If the *contract-hash* request parameter does not
match the contract hash of the order, return a 403 Forbidden response.
**Terminate**.
- 2. If there is a non-null *already-paid-order-ID* for *session-ID* stored
under the current order,
+ 3. If there is a non-null *already-paid-order-ID* for *session-ID* stored
under the current order,
redirect to the *fulfillment-URL* of *already-paid-order-ID*.
**Terminate**.
- 3. Prompt the URI
+ 4. Prompt the URI
::
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: make paywall payment flow NoJS compatible,
gnunet <=