Skip to content

Commit

Permalink
Update changes on payment transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
kingsleyudenewu authored Jul 18, 2018
1 parent 9deb44a commit f2a2935
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Voguepay.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,12 +329,6 @@ private function getPaymentDetails($transaction_id,$type="json")
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
if($this->proxy)
{
curl_setopt($ch, CURLOPT_PROXY, $this->proxy);
//curl_setopt($ch, CURLOPT_PROXYUSERPWD, $proxyauth);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
}
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windowos NT 5.1; en-NG; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13 Vyren Media-VoguePay API Ver 1.0");
if(curl_errno($ch)){ curl_error($ch)." - [Called In getPaymentDetails() CURL]"; }
$output = curl_exec($ch);
Expand All @@ -343,7 +337,6 @@ private function getPaymentDetails($transaction_id,$type="json")
if($this->connection_type =="fgc")
{
$output = file_get_contents($url);
if(!$output) {$output = "Failed To Get JSON Data - [Called In getPaymentDetails() FGC]"; }
}
return $output;
}
Expand Down

0 comments on commit f2a2935

Please sign in to comment.