/** * Checks if payment was set * * @return bool */ protected function isPaymentExists() { if ($this->payment) { if ($this->payment->getSkipTransactionCreation()) { $this->payment->unsTransactionId(); return false; } return true; } return false; }