Fixed Online Ordering

Fixed Online Ordering customers paying twice, losing tips and seeing times they could not order

Your order page charges a customer once when they come back from Stripe and order again, says when a paid order is already placed, keeps a tip they typed, and only offers times and prices it will accept.

On a location's order page:

  • A customer who leaves Stripe Checkout with the browser's Back button and presses Place order again has the first payment cancelled, so they are charged once and the first order stops holding its time.
  • When a card payment goes through but the customer never reaches their order page, the order so far is cleared the next time they open the page, with a line saying the order is placed and a link to it. Before, they could check out and pay again.
  • An amount typed under Other amount is the tip, even with No tip still marked. The tip is asked for only when paying by card, and a tip chosen with a pay-later choice is refused with a message instead of dropped.
  • Changing a quantity or removing a line from a second tab acts on that line or says the order changed, never on another line.
  • Adding an item past its Most per order says how many can be ordered and leaves the order as it was. A line over a limit lowered later keeps its name and quantity to lower it.
  • While a location is closed or paused, the first time it takes orders is chosen, so Check out is offered.
  • Delivery times allow for the zone's extra minutes once the customer has given their postal code, and the zones on checkout show their extra time. A time the zone rules out says why.
  • A price changed while checkout was open is shown, with the new total, before the order is placed.
  • On the customer's order page, the totals update with the tracker, so tax added by Stripe shows without a reload.