/** * Router for grabbing the correct payment model * * @return bool|mixed */ public function getPaymentModel() { if ($this->validatePaymentClass()) { return $this->getPaymentClass()->getPaymentModel(); } return parent::getPaymentModel(); }
/** * Router for grabbing the correct payment model * * @return bool|mixed */ public function getPaymentModel() { if ($this->validatePaymentClass()) { return $this->getPaymentClass()->getPaymentModel(); } return parent::getPaymentModel(); }