Step by step instructions of:
- Ensure your WAMP is running
- Connect your WAMP to the IS216 folder by creating an alias (E.g. eco)
- Import the sql file into phpmyadmin; database is216 will be created
- Access our application at /app locally. (E.g. localhost/eco/app)
- Alternatively, you can access our webpage at https://ecois216.herokuapp.com/.
- To checkout, simply enter
4242 4242 4242 4242
in the stripe checkout page for the card number and any expiry date (after today) and CSV code.
User
Username 1: sunjunlovesg5t4@smu.edu.sg
Password 1: Password2
Username 2: chrislee@gmail.com
Password 2: Password1
Company
- all companies have the same password -
password1
Usernames:
- breadtalk
- saizeriya
- pasta fresca
- Lola Cafe
- DingTeLe
- popeyes
- umisushi
- mcdonald
- Icg Incredible Chicken
- Yaowarat Thai Kway Chap
Stripe API has a order/rate limit, hence if Stripe appears to timeout or stop working after the Stripe checkout page, you can create a new Stripe API account and follow the steps below:
- Name
Account Name
in Stripe asEco
- Get the public key and secret key
- Replace the public key in
var stripe = Stripe("pk_test_...")
inshoppingcart.php
and replace the secret key in\Stripe\Stripe::setApiKey('sk_test_...');
found insuccess.php
andcreate-session.php
- The Stripe API checkout page should work again.
- Version 1.0