| @@ -56,8 +56,8 @@ discard block | ||
| 56 | 56 | $context = stream_context_create( | 
| 57 | 57 | [ | 
| 58 | 58 | 'ssl' => array( | 
| 59 | - 'verify_peer' => false, | |
| 60 | - 'verify_peer_name' => false | |
| 59 | + 'verify_peer' => false, | |
| 60 | + 'verify_peer_name' => false | |
| 61 | 61 | )] | 
| 62 | 62 | ); | 
| 63 | 63 | |
| @@ -130,8 +130,8 @@ discard block | ||
| 130 | 130 | $context = stream_context_create( | 
| 131 | 131 | [ | 
| 132 | 132 | 'ssl' => array( | 
| 133 | - 'verify_peer' => false, | |
| 134 | - 'verify_peer_name' => false | |
| 133 | + 'verify_peer' => false, | |
| 134 | + 'verify_peer_name' => false | |
| 135 | 135 | )] | 
| 136 | 136 | ); | 
| 137 | 137 | |
| @@ -16,10 +16,10 @@ | ||
| 16 | 16 | class Digipay extends Driver | 
| 17 | 17 |  { | 
| 18 | 18 | /** | 
| 19 | - * Digipay Client. | |
| 20 | - * | |
| 21 | - * @var object | |
| 22 | - */ | |
| 19 | + * Digipay Client. | |
| 20 | + * | |
| 21 | + * @var object | |
| 22 | + */ | |
| 23 | 23 | protected $client; | 
| 24 | 24 | |
| 25 | 25 | /** | 
| @@ -135,15 +135,15 @@ discard block | ||
| 135 | 135 |      { | 
| 136 | 136 |          $receipt = new Receipt('fanavacard', $referenceId); | 
| 137 | 137 | $receipt->detail([ | 
| 138 | -                             'ResNum'=>Request::input('ResNum'), | |
| 139 | -                             'RefNum'=>Request::input('RefNum'), | |
| 140 | -                             'token'=>Request::input('token'), | |
| 141 | -                             'CustomerRefNum'=>Request::input('CustomerRefNum'), | |
| 142 | -                             'CardMaskPan'=>Request::input('CardMaskPan'), | |
| 143 | -                             'transactionAmount'=>Request::input('transactionAmount'), | |
| 144 | -                             'emailAddress'=>Request::input('emailAddress'), | |
| 145 | -                             'mobileNo'=>Request::input('mobileNo'), | |
| 146 | - ]); | |
| 138 | +                                'ResNum'=>Request::input('ResNum'), | |
| 139 | +                                'RefNum'=>Request::input('RefNum'), | |
| 140 | +                                'token'=>Request::input('token'), | |
| 141 | +                                'CustomerRefNum'=>Request::input('CustomerRefNum'), | |
| 142 | +                                'CardMaskPan'=>Request::input('CardMaskPan'), | |
| 143 | +                                'transactionAmount'=>Request::input('transactionAmount'), | |
| 144 | +                                'emailAddress'=>Request::input('emailAddress'), | |
| 145 | +                                'mobileNo'=>Request::input('mobileNo'), | |
| 146 | + ]); | |
| 147 | 147 | return $receipt; | 
| 148 | 148 | } | 
| 149 | 149 | |
| @@ -185,11 +185,11 @@ discard block | ||
| 185 | 185 | private function httpClientInit(): void | 
| 186 | 186 |      { | 
| 187 | 187 | $this->client = new Client([ | 
| 188 | - 'curl'=>[\CURLOPT_SSL_CIPHER_LIST=>'DEFAULT@SECLEVEL=1',], | |
| 189 | - 'verify' => false, | |
| 190 | - 'base_uri' => $this->settings->baseUri, | |
| 191 | - 'headers' => ['Content-Type' => 'application/json',], | |
| 192 | - ]); | |
| 188 | + 'curl'=>[\CURLOPT_SSL_CIPHER_LIST=>'DEFAULT@SECLEVEL=1',], | |
| 189 | + 'verify' => false, | |
| 190 | + 'base_uri' => $this->settings->baseUri, | |
| 191 | + 'headers' => ['Content-Type' => 'application/json',], | |
| 192 | + ]); | |
| 193 | 193 | } | 
| 194 | 194 | |
| 195 | 195 | private function getWsContext(): array |