Changeset 1766 for trunk/application/controllers/examples.php
- Timestamp:
- 01/21/2008 06:56:39 AM (12 months ago)
- Files:
-
- 1 modified
-
trunk/application/controllers/examples.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/application/controllers/examples.php
r1733 r1766 288 288 $credit_card = new Payment('Paypal'); 289 289 $credit_card = new Payment('Authorize'); 290 290 291 291 // You can specify one parameter at a time: 292 292 $credit_card->login = 'this'; … … 299 299 // Or you can also set fields with an array and the <Payment.set_fields> method: 300 300 $credit_card->set_fields(array('login' => 'test', 301 'first_name' => 'Jeremy',302 'last_name' => 'Bush',303 'card_num' => '1234567890',304 'exp_date' => '0910',305 'amount' => '487.41'));301 'first_name' => 'Jeremy', 302 'last_name' => 'Bush', 303 'card_num' => '1234567890', 304 'exp_date' => '0910', 305 'amount' => '487.41')); 306 306 307 307 echo '<pre>'.print_r($credit_card, true).'</pre>';
