Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.
/ IERG4210 Public archive

IERG4210 - Web Programming & Security -- This repository contains codes for the assignment.

Notifications You must be signed in to change notification settings

leightonllc/IERG4210

Repository files navigation

IERG4210 Assignment Phase 5

📚 Name: Lau Long Ching
🗂️ SID: 1155127347

Please visit http://3.13.126.10 or https://secure.s31.ierg4210.ie.cuhk.edu.hk/ to mark my assignment, thank you!

Paths

  • IPN Listener & Verifier: /listener.php
  • Checkout Page: /checkout.php OR navigate with button in shopping cart
  • Recent 5 Orders for Members: /recentorders.php OR navigate with top bar

Order Flow

As explained in the email, the flow is a bit different from the marking scheme. Once the Paypal checkout button is clicked in the separate checkout page, the digest of transaction info with the salt and hashed digest is uploaded to orders. After a successful payment, the IPN listener verifies the details and upload the transaction record to record. Only entries in record are considered legitimate orders.

Credentials

Please use the following Paypal Sandbox Accounts:

Buesiness Account:
ID: sb-n0zww15617805@business.example.com
PW: 98'!70Ss

User Account:
ID: sb-nnczk15618652@personal.example.com
PW: CcH<8NTT