Fix checkout button overlapping content on small screens#418
NitUnused constant
MAX_QTY is declared but never read.
NitLeftover console.log
Logs the whole cart, including prices, in production.
WarningButton can be pressed twice
Nothing stops a second click while the first payment is in flight, so a double tap opens two sessions.
Warningreduce has no starting value
With an empty cart this throws, and with items the first one is added as an object, not a number.
CriticalTotal is trusted from the client
Anyone can post a total of 1 and pay one cent. Price the cart on the server, as the old code did.