taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit cc5a88996b8822289fded15f5b0704e475acdf36
parent 1f29a920675738dd848411abcf2db27f9dd9579b
Author: Florian Dold <florian@dold.me>
Date:   Fri, 13 Aug 2021 14:41:52 +0200

merchant spec: adjust paid HTML response

Diffstat:
Mmerchant-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 @@ -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 {