Transactions and tickets: cart, checkout, logs #26
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Shopping cart, server-side totals, transaction + ticket issue in one DB transaction, TransactionLog on every state change. Ref: docs/01-specification.md section 4.3.
Notes from #25: (1) Call
numbering/pgstore.Store.NextBEFORE opening the sale transaction; it uses its own pool connection and holding a connection while calling it can starve the pool. (2) Add a unique index on the invoice number column so a duplicate fails loudly. (3) Invoice and check-in numbers are sequential and guessable: they are display values only and must never be an access token for any public lookup (IDOR).