/** * Finalize before saving. */ protected function _beforeSave() { // Sync only if we have an info instance for payment data. if ($this->hasInfoInstance()) { $this->_createCustomerPaymentProfile(); } return parent::_beforeSave(); }
/** * Finalize before saving. */ protected function _beforeSave() { // Sync only if we have an info instance for payment data. if ($this->hasInfoInstance()) { $this->_createCustomerPaymentProfile(); } return parent::_beforeSave(); }