Skip to content

Commit

Permalink
www to de
Browse files Browse the repository at this point in the history
  • Loading branch information
MA7 committed Jul 20, 2013
1 parent 5e611db commit bca3f52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions catalog/controller/payment/zarinpalZg.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function confirm() {
$this->data['back'] = $this->url->link('checkout/payment', '', 'SSL');

//$client = new SoapClient("https://www.zarinpal.com/pg/services/WebGate/wsdl");
$client = new nusoap_client('https://www.zarinpal.com/pg/services/WebGate/wsdl', true);
$client = new nusoap_client('https://de.zarinpal.com/pg/services/WebGate/wsdl', true);

if((!$client)){
$json = array();
Expand Down Expand Up @@ -124,7 +124,7 @@ function verify_payment($authority, $amount){

if($authority){
//$client = new SoapClient("http://pg.zarinpal.com/services/WebGate/wsdl");
$client = new nusoap_client('https://www.zarinpal.com/pg/services/WebGate/wsdl', true);
$client = new nusoap_client('https://de.zarinpal.com/pg/services/WebGate/wsdl', true);
if ((!$client)){
echo "Error: can not connect to ZarinPal.<br>";return false;
} else {
Expand Down

0 comments on commit bca3f52

Please sign in to comment.