diff --git a/libraries/payments/psigate.php b/libraries/payments/psigate.php index 37bfb5b..ef14785 100644 --- a/libraries/payments/psigate.php +++ b/libraries/payments/psigate.php @@ -33,7 +33,7 @@ class Psigate public function __construct($payments) { $this->payments = $payments; - $this->_default_params = $this->payments->config->module['method_params']; + $this->_default_params = $this->payments->config->module['required_params']; } protected function _set_messenger_settings() diff --git a/libraries/payments/quickbooksms.php b/libraries/payments/quickbooksms.php index b5892fd..653dda6 100644 --- a/libraries/payments/quickbooksms.php +++ b/libraries/payments/quickbooksms.php @@ -38,7 +38,7 @@ class QuickBooksMS public function __construct($payments) { $this->payments = $payments; - $this->_default_params = $this->payments->config->module['method_params']; + $this->_default_params = $this->payments->config->module['required_params']; $this->_api_endpoint = $this->payments->config->module['api_endpoint'.'_'.$this->payments->mode]; $this->_api_settings = array( 'login' => (isset($payments->gateway_credentials)) ? $payments->gateway_credentials['api_application_login'] : $this->payments->config->module['api_application_login'],