This page has moved and will be redirected soon. See Migrated topics for the complete list.

AsyncOrder

The AsyncOrder module enables asynchronous order placement, which marks the order as received, places it in a queue, and processes it in a first-in-first-out basis.

AsyncOrder values:

  • 0 — (Default value) Disable the AsyncOrder module and use the standard synchronous order placement.
  • 1 — Enable the AsyncOrder module for asynchronous order placement.

To enable AsyncOrder, set the checkout/async variable in the env.php file. For example:

1
2
3
4
<?php
      'checkout' => [
               'async' => 1
       ]

Alternatively, you can set the variable using the command-line interface:

1
bin/magento setup:config:set --checkout-async 1

Before disabling the AsyncOrder module, you must verify that all asynchronous order processes are complete.