Changeset 1597 for trunk/system/libraries/Payment.php
- Timestamp:
- 12/20/2007 06:12:59 PM (13 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Payment.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Payment.php
r1449 r1597 16 16 // The driver string 17 17 'driver' => NULL, 18 // Curl config, see http://us.php.net/manual/en/function.curl-setopt.php for details19 'curl_config' => array20 (21 CURLOPT_HEADER => FALSE,22 CURLOPT_RETURNTRANSFER => TRUE,23 CURLOPT_SSL_VERIFYPEER => FALSE24 ),25 18 // Test mode is set to true by default 26 19 'test_mode' => TRUE, … … 28 21 29 22 protected $driver = NULL; 30 private $fields = array();31 23 32 24 /** … … 121 113 public function set_fields($fields) 122 114 { 123 $this->driver->set_fields( array_merge($this->fields, (array) $fields));115 $this->driver->set_fields((array) $fields); 124 116 125 117 return $this; … … 135 127 public function process() 136 128 { 137 $this->set_fields($this->fields);138 129 return $this->driver->process(); 139 130 }
