merchant-frontend-examples

ZZZ: Inactive/Deprecated
Log | Files | Refs

commit 45c16f7a23fba2abe515fb89063e90d35bc921a9
parent b82ebf66ffaf8016064211db949d9782b19b0df4
Author: Florian Dold <florian.dold@gmail.com>
Date:   Thu, 29 Jun 2017 18:38:46 +0200

refine tipping headers

Diffstat:
Mpython/doc/tutorial.texi | 15+++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/python/doc/tutorial.texi b/python/doc/tutorial.texi @@ -523,10 +523,6 @@ The following headers for @code{402 Payment Required} are recognized by Taler an @item X-Taler-Refund-Url If this header present, the value of this header must be a URL that the user agent can use to request and process refunds. -@item X-Taler-User-Tipping-Url -If this header present, the value of this header must be a URL that the user agent can use to obtain tips (small, non-binding -financial rewards) payed from the merchant to the user's wallet. - @item X-Taler-Contract-Url If there is no associated proposal, the user agent will fetch a proposal from this URL and process it. This typically prompts the user to agree to pay. @@ -535,6 +531,17 @@ this URL and process it. This typically prompts the user to agree to pay. If there is no associated proposal and @code{X-Taler-Contract-Url} is not specified, the browser will navigate to this URL. +@item X-Taler-User-Tipping-Url +If this header present, the value of this header must be a URL that the user agent can use to obtain tips (small, non-binding +financial rewards) payed from the merchant to the user's wallet. If this field is present, @code{X-Taler-User-Tipping-Exchange} +and @code{X-Taler-User-Tipping-Amount} must also be present. + +@item X-Taler-User-Tipping-Exchange +Exchange base URL for the exchange that the merchant helps withdrawing the tip from. + +@item X-Taler-User-Tipping-Amount +Amount of tip that the user is receiving, in the standard amount format (CURR:X.Y). + @end table @node JavaScript API