From 8e515cfa7f4c22b7c2d711001108e30e396e3b93 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 11 Mar 2018 16:55:11 +0100 Subject: doc: explain last_session_id --- doc/merchant-api.content.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/merchant-api.content.texi b/doc/merchant-api.content.texi index 9233c336..88b96b3a 100644 --- a/doc/merchant-api.content.texi +++ b/doc/merchant-api.content.texi @@ -644,6 +644,10 @@ fulfillment page, but include an additional @code{session_sig} parameter. The frontend can query @code{/check-payment} with both the @code{session_id} and the @code{session_sig} again to verify that the signature is correct. +The last session ID that was successfuly used to prove that the payment +receipt is in the user's wallet is also available as @code{last_session_id} in +the response to @code{/check-payment}. + In some situations the user has paid for some digital good, but the frontend does not know the exact order ID, and thus can't instruct the wallet to show the existing payment receipt. This is common for simple shops without a login -- cgit v1.2.3