diff options
Diffstat (limited to 'src/frontend/README')
-rw-r--r-- | src/frontend/README | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/frontend/README b/src/frontend/README index a89b9d36..fe8f44ab 100644 --- a/src/frontend/README +++ b/src/frontend/README @@ -1,24 +1,23 @@ 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 files in the same -directory, then having PHP enabled, and setting the following two redirections: - -1. your_site/certal/ => your_site/cert.php -2. your_site/payler/ => your_site/pay.php +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 "negotiation" view, that is the form - that allows the user to choose the product to buy. +o index.html | The homepage. Here it is possible to decide how much donate + to whom you would like. 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 its showing as a - popup window (by JavaScript in it). For debugging purposes, it has a - certificate hardcoded in it. + It also implements the request of certificate and trigger the certificate + viewer in the extension when it arrives in the customer's machine. + -o cert.php | Replies with a JSON certificate that is held in a 'session' variable. +o cert.php | Replies with a JSON certificate gotten from the backend. o pay.php | Actual receiving of money, plus it gives back a "fullfillment" page that informs the user of his well ended deal. +o toy | the nginx configuration file skeleton for this virtual server. To be tuned + as needed. |