gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated: merchant spec: adjust paid HTML resp


From: gnunet
Subject: [taler-docs] branch master updated: merchant spec: adjust paid HTML response
Date: Fri, 13 Aug 2021 14:42:04 +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 cc5a889  merchant spec: adjust paid HTML response
cc5a889 is described below

commit cc5a88996b8822289fded15f5b0704e475acdf36
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri Aug 13 14:41:52 2021 +0200

    merchant spec: adjust paid HTML response
---
 merchant-spec/public-orders-get.ts | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/merchant-spec/public-orders-get.ts 
b/merchant-spec/public-orders-get.ts
index b3c4722..130f53f 100644
--- a/merchant-spec/public-orders-get.ts
+++ b/merchant-spec/public-orders-get.ts
@@ -194,11 +194,14 @@ function respPaid(req: Req, ord: MerchantOrderInfo): Resp 
{
         talerHeader: "taler://refund/...",
       };
     }
+    // We do not redirect here.  Only
+    // the JS on the QR code page automatically redirects.
+    // Without JS, the user has to manually click through to
+    // the fulfillment URL.
     return {
-      httpStatus: "302 Found",
+      httpStatus: "200 OK",
       contentType: "html",
-      redirectLocation: ord.fulfillmentUrl || "<backend pay success page>",
-      responseType: "empty",
+      responseType: "OrderStatusHtmlPage",
     };
   }
   return {

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]