diff options
Diffstat (limited to 'merchant-spec')
-rw-r--r-- | merchant-spec/public-orders-get.ts | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/merchant-spec/public-orders-get.ts b/merchant-spec/public-orders-get.ts index b3c47226..130f53f5 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 { |