Sunnysideup\Ecommerce\Model\Process\OrderSteps\OrderStepPaid::initStep
initStep: makes sure the step is ready to run.... (e.g. check if the order is ready to be emailed as receipt).
should be able to run this function many times to check if the step is ready.
Signature
public function initStep(Order
$order )
Parameters
$order
— Sunnysideup\Ecommerce\Model\Order- object
Returns
- bool
- - true if the current step is ready to be run...