summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-04-24 15:30:37 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-04-24 15:30:37 +0530
commit69a679117bc6a8426f36e2c2c7edf250391cdb24 (patch)
treedddbd06142d4c15bed511b81cbd3fdd959b1506d
parent8ad917c84fb5d12797f0e70f7f0b895849a52187 (diff)
downloaddocs-69a679117bc6a8426f36e2c2c7edf250391cdb24.tar.gz
docs-69a679117bc6a8426f36e2c2c7edf250391cdb24.tar.bz2
docs-69a679117bc6a8426f36e2c2c7edf250391cdb24.zip
document decision for wallet integration
-rw-r--r--design-documents/001-new-browser-integration.rst26
1 files changed, 23 insertions, 3 deletions
diff --git a/design-documents/001-new-browser-integration.rst b/design-documents/001-new-browser-integration.rst
index f436a4f7..8dbe2a43 100644
--- a/design-documents/001-new-browser-integration.rst
+++ b/design-documents/001-new-browser-integration.rst
@@ -1,10 +1,30 @@
Design Doc 001: New Browser Integration
#######################################
-.. note::
+.. warning::
- This design document is currently a draft, it
- does not reflect any implementation decisions yet.
+ We have decided not to follow through with the proposed solution in this
+ design doc. We care a lot about a nice upgrade path for when better
+ browser integration becomes available. Encouraging the ``#taler://`` fragment
+ based integration might lead merchant frontends to **only** support this type
+ of integration.
+
+ Instead, the following path will be taken:
+
+ 1. CSS-based presence detection will be removed from the wallet,
+ as there is no satisfactory upgrade path to better mechanisms
+ 2. Manual triggering will be implemented as described in this design doc.
+ 3. The ``webRequest`` permission that allows ``"Taler: "`` header based
+ browser integration will become opt-in.
+ 4. The interactive API will be put on hold. Instead, SPAs should
+ ask the user to open the wallet popup (and/or render a QR code for mobile wallets).
+ 5. To enable easier integration for merchants, the reference merchant backend
+ might include a page to trigger payments, which displays the QR code
+ correctly, does long-polling via JS and serves the ``"Taler: "`` header.
+ 6. The presence detection ``taler://`` URI described in this document
+ will **not** be supported, as allowing presence detection might
+ encourage merchants to treat mobile / detached wallets as 2nd class
+ citizens.
Summary
=======