Example #1
0
 public function depositFloat()
 {
     // Setup the doPayment parameters
     //---------------------------------------
     $params = new stdClass();
     $params->fromSystem = $this->fromSystem;
     $params->transferId = $this->transferId;
     $params->toMemberPrincipalType = $this->toMemberPrincipalType;
     $params->toMember = $this->toMember;
     $params->amount = $this->amount;
     $params->description = $this->description;
     // make call to wsdl and effect payment
     $payment = new SoapClient(TRANSACT_URL . "/services/payment?wsdl", array('trace' => 1, 'exceptions' => 0));
     $result = $payment->doPayment(array('params' => $params));
     return $result;
 }