function setPerson($id, $name, $addy, $zip, $email = '') { $name = ucwords(strtolower(str::condenseNonXML($name))); $this->tran->cardholder = $name; $this->tran->street = $addy; $this->tran->zip = $zip; $this->tran->custemail = $email; $this->tran->invoice = $id; //$this->tran->custid = $id; $this->tran->billfname = $name; //$this->tran->billlname = "#$id"; }