示例#1
0
 /**
  *
  * @param string $paymentAction
  * @param object $stateObject
  *
  * @return $this
  */
 public function initialize($paymentAction, $stateObject)
 {
     $pre = __METHOD__ . " : ";
     pflog($pre . 'bof');
     $stateObject->setState(\Magento\Sales\Model\Order::STATE_PENDING_PAYMENT);
     $stateObject->setStatus('pending_payment');
     $stateObject->setIsNotified(false);
     return parent::initialize($paymentAction, $stateObject);
     // TODO: Change the autogenerated stub
 }