From 3c9a65d06edd775ab422001e4de9556e5f3a2fc8 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 26 Feb 2016 14:10:06 +0100 Subject: polish shop page --- examples/shop/index.php | 138 +++++++++++++++++++----------------------------- 1 file changed, 54 insertions(+), 84 deletions(-) diff --git a/examples/shop/index.php b/examples/shop/index.php index 51ff90a4..184ed9e8 100644 --- a/examples/shop/index.php +++ b/examples/shop/index.php @@ -21,7 +21,7 @@ echo "\tvar shop_currency = '$MERCHANT_CURRENCY';\n"; } function init() { - var e = document.getElementById("currency-input"); + var e = document.getElementById("currency-input"); e.value = shop_currency; addOption("0.1"); addOption("1.0"); @@ -30,7 +30,7 @@ echo "\tvar shop_currency = '$MERCHANT_CURRENCY';\n"; } document.addEventListener("DOMContentLoaded", init); - + @@ -51,7 +51,7 @@ echo "\tvar shop_currency = '$MERCHANT_CURRENCY';\n";
-

Welcome to the Taler Donation Demo

+

Welcome to the Taler Donation "Shop" Demo

This "toy" website provides you with the ability to experience using the @@ -66,91 +66,61 @@ echo "\tvar shop_currency = '$MERCHANT_CURRENCY';\n"; typical Web shop supporting Taler. The other pages of the demo, mint.demo.taler.net and bank.demo.taler.net, correspond to a Taler mint - and bank with tight Taler integration respectively. + and bank with tight Taler integration respectively. You + may also enjoy visiting the blog.demo.taler.net.

+
-
- -
-

Step 1: Installing the Taler wallet

-

- First, you need to install - the Taler wallet browser extension. -

-

- Congratulations, you have installed the Taler wallet correctly. - You can now proceed with the next steps. -

-
- -
-

Step 2: Withdraw coins (occasionally)

- -

The next step is to withdraw coins, after all you cannot - pay with an empty wallet. To be allowed to withdraw - coins from a mint, you first need to transfer currency to the mint - using the normal banking system, for example by using a - wire transfer. If the bank offers a tight integration with Taler, it - may also support this directly over the home banking online interface. -
- For the demonstration, we have created a "bank" that - allows you to "wire" funds (in KUDOS) to the mint simply by - filling in the desired amount into a form. Naturally, when - using a real bank with real money, you would have to authenticate - and authorize the transfer. -
- Note that you would not do this step for each purchase or each shop. - Payment with Taler is like paying - with cash: you withdraw currency at the bank (or an ATM) and then - pay at many merchants without having to authenticate each time. -
- So, unless you have already done so, please go ahead and withdraw - KUDOS at the - Demo bank - (opens in a new tab).

-
- -
-

Step 3: Shop! (as long as you have KUDOS left)

+
+

Installing the Taler wallet

+ First, you need to install the Taler wallet browser extension. + Install the wallet + + + Wallets for other browsers will be provided in the near future. +
-

Now it is time to spend your hard earned KUDOS. - Note that we cannot really tell if you got any yet, - as your Taler wallet balance is visible to you, but - of course is hidden entirely from the shop.

-

The form that follows corresponds to the shopping - cart of a real Web shop; however, we kept it - very simple for the demonstration.

-

So, please choose a project and the amount of KUDOS you - wish to donate:

+
+

Please choose a project and the amount of KUDOS you + wish to donate:

-
-
-
- GNU Taler -
- Tor -
- GNUnet -
- - - -
-
-
-
-

(*) To make it a bit more fun, the 5 KUDOS option - is deliberately implemented with a fault: the merchant will try to - make you donate 6 KUDOS instead of the 5 KUDOS you got to see. But do - not worry, you will be given the opportunity to review the - final offer from the merchant in a window secured - by the Taler extension. That way, you can spot the - error before committing to an incorrect contract.

-
-
- +
+
+
+ GNU Taler +
+ Tor +
+ GNUnet +
+ + + +
+
+
+
+

+ (*) To make it a bit more fun, the 5 KUDOS option + is deliberately implemented with a fault: the merchant will try to + make you donate 6 KUDOS instead of the 5 KUDOS you got to see. But do + not worry, you will be given the opportunity to review the + final offer from the merchant in a window secured + by the Taler extension. That way, you can spot the + error before committing to an incorrect contract. +

+ -- cgit v1.2.3