/**
  * 
  * Processes the transaction using the specified BankCardTransaction.
  * Returns an updated BankCardTransaction containing the response information.
  * 
  * @param vo_bct    the bank card transaction
  * @return  the updated bank card transaction
  * @throws BaseCommerceClientException if invalid credentials were given or if there was an internal server error. Please contact tech support if there is an internal server error.
  * @author Rob Kurst <*****@*****.**>
  */
 public function processBankCardTransaction(BankCardTransaction $vo_bct)
 {
     $triple_des = new TripleDESService($this->is_key);
     $o_query = array();
     $o_query['gateway_username'] = $this->is_gateway_username;
     $o_query['gateway_password'] = $this->is_gateway_password;
     $o_query['payload'] = $triple_des->encrypt($vo_bct->getJSON());
     $s_query = json_encode($o_query);
     $response = $this->do_post_request('/pcms/?f=API_processBankCardTransactionV4', $s_query, $triple_des, 0);
     $vo_bct = BankCardTransaction::buildFromJSON($response["bank_card_transaction"]);
     if (array_key_exists("exception", $response) && !is_null($response['exception'])) {
         foreach ($response['exception'] as $s_key => $s_error) {
             $vo_bct->addMessage($s_error);
         }
     }
     return $vo_bct;
 }