Project pool

AdvancedNext.js · Payments

Storefront with checkout

Products, a cart and a real checkout in Paystack test mode.

Time
~28h
When approved
+300 XP

The brief

A small shop: a product list, product pages, a cart, and checkout through Paystack's test mode. An order only counts once the payment is verified on the server.

What must work

  • 01Product list and detail pages from a database or a JSON file
  • 02A cart that survives a reload
  • 03Checkout with Paystack test keys; verify the payment on the server before marking an order paid
  • 04An order confirmation page and email

If you want to go further

  • An admin page to add products
  • Stock that goes down with each order