Repository navigation
Conversation
* ci: add Actions workflow for web+mobile * ci: use Node 20 for Vite build * fix(mobile): escape apostrophe to satisfy react/no-unescaped-entities
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| promoDiscount: totals.promoDiscount, | ||
| subTotal: totals.subTotal, | ||
| total: totals.total, | ||
| payment: true, | ||
| paymentMethod: "card", |
There was a problem hiding this comment.
Stripe orders marked paid before checkout completes
placeOrder now persists card orders with payment: true at creation, before the Stripe session has succeeded. If the user abandons or cancels checkout, the order remains in the DB flagged as paid (the old flow left payment false until /verify succeeded), so admins/drivers will treat unpaid orders as settled and they are never removed by the failure path. This misreports payment state for any incomplete card checkout.
Useful? React with 👍 / 👎.
No description provided.