Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Prevent double submit in checkout
issue: NEXT-7416
author: Claudio Bianco
author_email: [email protected]
author_github: @claudiobianco
---
- Changed
CheckoutController
to catchEmptyCartException
when submitting an order with an empty cart (e.g. due to double-click of the submit button)
- Changed checkout order button to use
FormSubmitLoader
to prevent submitting it multiple times