The Xinchejian payment/door/membership system! Allows members to register their (cash) payment and receive a password. This password can be used to open the door. Once you open the door, your device may access members' Wi-Fi.
There are three entry points:
index.phpopens the door if the MAC is known, else redirects toindex.htmlfor PIN, which POSTs toopen.phpand redirects towelcomeback.htmlsubmit.htmlfor submitting a new payment, POSTs tosubmit.phpand finally redirects towelcome.htmladmin.phpfor payment verification; callsverify.phpusing XHR
- Pay money in envelope, write name on it
- Scan the QR code at the box
- Fill in name/email and payment
- Get email with code for door
The SQLite DB schema create script can be found in db.sql.
- Cronjob for membership reminders DONE:
checkpaid.php - Need "Access denied" page DONE:
accessdenied.html - Cronjob for DB backups
- Push-to-deploy DONE: see comment in #37
- libapache2-mod-php5
- php5-sqlite