private function setProperGateway()
    {
        if (isset($this->config['dry_run'])) {
            if ($this->config['dry_run']) {
                $this->setUrl($this->sandboxUrl);
                $this->feedbackUrl = $this->feedbackSandboxUrl;

            } else {
                $this->setUrl($this->productionUrl);
                $this->feedbackUrl = $this->feedbackProductionUrl;
            }
        }
    }
private function setProperGateway()
    {
        if (isset($this->config['dry_run'])) {
            if ($this->config['dry_run']) {
                $this->setUrl($this->sandboxUrl);
                $this->feedbackUrl = $this->feedbackSandboxUrl;

            } else {
                $this->setUrl($this->productionUrl);
                $this->feedbackUrl = $this->feedbackProductionUrl;
            }
        }
    }
private function setProperGateway ( ) { if ( isset ( $ this -> config [ 'dry_run' ] ) ) { if ( $ this -> config [ 'dry_run' ] ) { $ this -> setUrl ( $ this -> sandboxUrl ) ; $ this -> feedbackUrl = $ this -> feedbackSandboxUrl ; } else { $ this -> setUrl ( $ this -> productionUrl ) ; $ this -> feedbackUrl = $ this -> feedbackProductionUrl ; } } }
Set the correct Gateway url and the Feedback url based on dry_run param.

@return void
Set the correct Gateway url and the Feedback url based on dry_run param .