|  | @@ -152,8 +152,8 @@  discard block | 
                                                    
                                                        |  |  |  block discarded – undo | 
                                                                                                                                                                                                                    
                                                            | 152 | 152 |      { | 
                                                                                                            
                                                            | 153 | 153 |          $merchant_data = []; | 
                                                                                                            
                                                            | 154 | 154 |   | 
                                                                                                            
                                                            | 155 |  | -        foreach ( $this->getData() as $k => $v ) { | 
                                                                                                            
                                                            | 156 |  | -            if ( !empty($v) ) { | 
                                                                                                            
                                                            |  | 155 | +        foreach ($this->getData() as $k => $v) { | 
                                                                                                            
                                                            |  | 156 | +            if (!empty($v)) { | 
                                                                                                            
                                                            | 157 | 157 |                  $merchant_data[$k] = urlencode($v); | 
                                                                                                            
                                                            | 158 | 158 |              } | 
                                                                                                            
                                                            | 159 | 159 |          } | 
                                                                                                                                                        
                                                        |  | @@ -162,7 +162,7 @@  discard block | 
                                                    
                                                        |  |  |  block discarded – undo | 
                                                                                                                                                                                                                    
                                                            | 162 | 162 |   | 
                                                                                                            
                                                            | 163 | 163 |          $encrypted_data = $cryto->encrypt(http_build_query($merchant_data), $this->getWorkingKey()); | 
                                                                                                            
                                                            | 164 | 164 |   | 
                                                                                                            
                                                            | 165 |  | -        $url = $this->getEndpoint() . '&encRequest=' . $encrypted_data . '&access_code=' . $this->getAccessCode(); | 
                                                                                                            
                                                            |  | 165 | +        $url = $this->getEndpoint().'&encRequest='.$encrypted_data.'&access_code='.$this->getAccessCode(); | 
                                                                                                            
                                                            | 166 | 166 |   | 
                                                                                                            
                                                            | 167 | 167 |          return $this->response = new PurchaseResponse($this, [ | 
                                                                                                            
                                                            | 168 | 168 |              'url' => $url, | 
                                                                                                                                                
                                         
                                        
                                            
                                                                                                    Please login to merge, or discard this patch.