diff --git a/guides/plugins/plugins/checkout/order/using-the-state-machine.md b/guides/plugins/plugins/checkout/order/using-the-state-machine.md index 648ca9cd92..2a6d442bdd 100644 --- a/guides/plugins/plugins/checkout/order/using-the-state-machine.md +++ b/guides/plugins/plugins/checkout/order/using-the-state-machine.md @@ -78,7 +78,7 @@ The order transaction state represents the state of the transaction, or the paym * `remind`: Will result in "reminded" * `cancel`: Will result in "cancelled" -Here's an example on how to set the order transaction from `open` to `in_progress` via the `pay` action: +Here's an example on how to set the order transaction from `open` to `in_progress` via the `do_pay` action: ```php $this->stateMachineRegistry->transition(new Transition(