Skip to content

Latest commit

 

History

History
12 lines (12 loc) · 431 Bytes

2020-09-17-prevent-double-submit-in-checkout.md

File metadata and controls

12 lines (12 loc) · 431 Bytes
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
---

Core

  • Changed CheckoutController to catch EmptyCartException when submitting an order with an empty cart (e.g. due to double-click of the submit button)

Storefront

  • Changed checkout order button to use FormSubmitLoader to prevent submitting it multiple times