When an order fails (PlaceOrderFailed), a process exception record is created. As a
Commerce admin, you can view the record to investigate the cause and fix it. After the record’s
status is changed to Resolved, you can use the Retrigger Place Order flow to place the order
gain.
Required Editions
-
If your store was created using
sfdx after the Summer ’23 release, go
to step 3 to activate the preinstalled Retrigger Place Order flow.
-
If your store was created before Summer ’23, deploy the flow.
-
In your browser, go to https://github.com/forcedotcom/commerce-on-lightning.
-
If you haven’t already, clone the commerce-on-lightning repo.
-
Check out the main branch.
-
Open a command prompt and navigate to the
commerce-on-lightning/examples/b2b/checkout/retrigger-place-order
directory.
-
Deploy the flow using SFDX.
sfdx force:mdapi:deploy -d <path-to-this-directory> -w -1
-
Activate the flow.
-
Click
at the top of the page, and then select Setup.
-
In the Quick Find box, find, and select Flows.
-
Click Retrigger Place Order.
-
Click Activate.