summaryrefslogtreecommitdiff
path: root/examples/frontend/README
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-02-23 17:12:18 +0100
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-02-23 17:12:18 +0100
commitaf03e45182f4f450621ce98a6bd23bfaf2671c59 (patch)
tree73f657e45b51dc3dfca4de0dbef08ab9d23f21e9 /examples/frontend/README
parentf8c673dd6ae62fe61ea0c6522c882b1ceb7b6e61 (diff)
downloadmerchant-af03e45182f4f450621ce98a6bd23bfaf2671c59.tar.gz
merchant-af03e45182f4f450621ce98a6bd23bfaf2671c59.tar.bz2
merchant-af03e45182f4f450621ce98a6bd23bfaf2671c59.zip
addressing #4197, to test
Diffstat (limited to 'examples/frontend/README')
-rw-r--r--examples/frontend/README20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/frontend/README b/examples/frontend/README
new file mode 100644
index 00000000..8cfb490f
--- /dev/null
+++ b/examples/frontend/README
@@ -0,0 +1,20 @@
+This directory contains the files implementing the frontend of the new merchant architecture.
+
+Only tested on nginx. To run the website, it suffices to have all the .php and .html files
+in the same directory, and having PHP (with the extension 'pecl_http' enabled) enabled.
+
+File |What implements
+--------------------------------
+o index.html | The homepage. Here it is possible to decide how much donate
+ to whom you would like.
+
+o fake_wire_transfer.php | PHP script that takes the wire transfer request and passes it on
+ | to the /admin/add/incoming API of the demo-mint.
+
+o checkout.php | The "payment selection" that is the form
+ that allows the user to choose the payment method he wishes to use.
+ It also implements the request of certificate and trigger the certificate
+ viewer in the extension when it arrives in the customer's machine.
+
+o pay.php | Actual receiving of money, plus it gives back a "fullfillment" page
+ that informs the user of his well ended deal.