summaryrefslogtreecommitdiff
path: root/examples/shop/README
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-02-24 09:41:40 +0100
committerChristian Grothoff <christian@grothoff.org>2016-02-24 09:41:40 +0100
commitf91fa734c739671c3094a488def366febc2a208a (patch)
tree3fd547475f819e62cd5c79a44070a2f79461d556 /examples/shop/README
parent37d8bf6f436e98b760e1c265f400c349cd8ee4b0 (diff)
downloadmerchant-f91fa734c739671c3094a488def366febc2a208a.tar.gz
merchant-f91fa734c739671c3094a488def366febc2a208a.tar.bz2
merchant-f91fa734c739671c3094a488def366febc2a208a.zip
rename to match site names
Diffstat (limited to 'examples/shop/README')
-rw-r--r--examples/shop/README20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/shop/README b/examples/shop/README
new file mode 100644
index 00000000..8cfb490f
--- /dev/null
+++ b/examples/shop/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.