[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: comments
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: comments |
Date: |
Sun, 08 Aug 2021 18:44:51 +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 40df0b9 comments
40df0b9 is described below
commit 40df0b96ce0c551e2e3c06ecbc8142dec1795c25
Author: Florian Dold <florian@dold.me>
AuthorDate: Sun Aug 8 18:44:46 2021 +0200
comments
---
merchant-spec/public-orders-get.ts | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/merchant-spec/public-orders-get.ts
b/merchant-spec/public-orders-get.ts
index 225cc25..916ba19 100644
--- a/merchant-spec/public-orders-get.ts
+++ b/merchant-spec/public-orders-get.ts
@@ -67,8 +67,13 @@ function handlePublicOrdersGet(mos: MerchantOrderStore, req:
Req): Resp {
if (!ord.paid) {
const hcOk = ord.contractHash === req.contractHash;
if (!hcOk && ord.requireClaimToken && ord.claimToken !== req.claimToken) {
- // This can happen when the fulfillment URL page detects
- // the user has not paid under the current session.
+ // Client is trying to get the order status of a claimed,
+ // unpaid order. However, the client is not showing authentication.
+ //
+ // This can happen when the fulfillment URL includes the order ID,
+ // and the storefront redirects the user to the backend QR code
+ // page, because the order is not paid under the current session.
+ // This happens on bookmarking / link sharing.
return {
httpStatus: "202 Accepted",
responseType: "StatusGotoResponse",
@@ -109,6 +114,7 @@ function handlePublicOrdersGet(mos: MerchantOrderStore,
req: Req): Resp {
httpStatus: "202 Accepted",
responseType: "StatusGotoResponse",
response: {
+ public_reorder_url: ord.publicReorderUrl,
already_paid_order_id: alreadyPaidOrd.orderId,
},
};
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.