IT 312 / SIAE-Commerce Project Guide
Your section

Payments

Hard

COD and online payments through the mock gateway (behaves like PayMongo).

Group 6
app/Modules/Payments40% starter complete

Already done — do not rebuild

  • Mock gateway server
  • GatewayClient
  • COD and online createPayment() with redirect to the gateway
  • Webhook route

Must 1–4 Graded

1Success and failed return pages
2Webhook signature check
3handleWebhook() updates payment once, fires event
4Tests with Http::fake()

Stretch Bonus

  • "Pay again" for pending orders
  • Switch to real PayMongo test mode

Provides

Uses

Fires

Listens

None

Tables

Direct dependencies

Full dependency checker