Repository navigation
Fix checkout blockers from Orders module feedback - #56
Merged
Merged
Conversation
lordlabakdas
marked this pull request as ready for review
October 3, 2026 23:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checkout currently requires card input despite having no payment processor, leaves wallet buttons disabled, and checks inventory too late. This change makes payment stubs explicit and usable, comments out pickup for the delivery-only MVP, removes recurring checkout controls, and refreshes stock during checkout and immediately before submission.
It also recognises Visa and both Mastercard ranges, supplies preset test cards without saving or submitting card details, preserves the saved drop-off address, prevents stale delivery quotes from enabling checkout for another location, and shows order updates on the Alerts page even when a live event was missed.
Source: Orders module comments.
Backend dependency: lordlabakdas/groceror#76. Merge the backend first for automatic confirmation and delivery radius enforcement.
Validation: 10 Playwright regressions passed across a nine-test run and an additional stale-quote test; production build passed. npm run check reports the same pre-existing server/vite.ts:42 allowedHosts typing error in both the original checkout and this worktree.
Payments are demonstration stubs, not real charges or tokenized saved cards. Browser tests mock API responses; live courier and payment integrations remain outside this change.