Lesson 7 of 12 · Back-end
Cart and orders: transactions, statuses and transfer reference
Objective
Write the heart of the MasterLinux shop: recalculate the cart on the server side (in centimes, VAT included, delivery), create the order in a transaction that protects the stock even when two customers buy the last item at the same moment, generate a transfer reference that detects typing mistakes, and move the order through a controlled cycle of statuses.
This lesson is part of the full course
Unlock Fullstack Project: the MasterLinux Shop, a Marketplace from A to Z to read every lesson, do the exercises, access the simulations and earn your certificate.
Already enrolled? Log in.