Sunnysideup\Ecommerce\Model\Process\OrderSteps\OrderStepSentInvoice::initStep
can run step once order has been submitted.
NOTE: must have a payment (even if it is a fake payment). The reason for this is if people pay straight away then they want to see the payment shown on their invoice.
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...