@@ -83,7 +83,7 @@ |
||
83 | 83 | $aParams['add_paydata[terminal_address_country]'] = $this->shopHelper->getConfigParam('country_id', 'store_information', 'general'); // CHECKEN! |
84 | 84 | $aParams['add_paydata[terminal_address_name]'] = $this->shopHelper->getConfigParam('name', 'store_information', 'general'); |
85 | 85 | $aParams['add_paydata[terminal_address_streetname]'] = $this->shopHelper->getConfigParam('street_line1', 'store_information', 'general'); |
86 | - $aParams['add_paydata[terminal_address_streetnumber]'] = '';// IS THIS NECESSARY? |
|
86 | + $aParams['add_paydata[terminal_address_streetnumber]'] = ''; // IS THIS NECESSARY? |
|
87 | 87 | $aParams['add_paydata[terminal_address_zip]'] = $this->shopHelper->getConfigParam('postcode', 'store_information', 'general'); |
88 | 88 | $aParams['add_paydata[terminal_id]'] = $this->shopHelper->getConfigParam('name', 'store_information', 'general'); |
89 | 89 |
@@ -185,7 +185,7 @@ |
||
185 | 185 | |
186 | 186 | if ($autoCcDetection) { |
187 | 187 | // Get a flat CC type array like (e.g. ["V", "M", "J", "U", "P"]). |
188 | - $availableCcTypes = array_map(function ($type) { return $type['id']; }, $this->paymentHelper->getAvailableCreditcardTypes()); |
|
188 | + $availableCcTypes = array_map(function($type) { return $type['id']; }, $this->paymentHelper->getAvailableCreditcardTypes()); |
|
189 | 189 | |
190 | 190 | // Return the auto cardtype detection config with enabled CC types. |
191 | 191 | return [ |
@@ -278,7 +278,7 @@ |
||
278 | 278 | public function getOldAddressStatus(AddressInterface $oAddress, $blIsCreditrating = true) |
279 | 279 | { |
280 | 280 | $sStatus = $this->getStatusFromPreviousQuoteAddress($oAddress, $blIsCreditrating); |
281 | - if(empty($sStatus) && $blIsCreditrating === true && $this->getConfigParam('integration_event', 'creditrating', 'payone_protect') == 'after_payment') { |
|
281 | + if (empty($sStatus) && $blIsCreditrating === true && $this->getConfigParam('integration_event', 'creditrating', 'payone_protect') == 'after_payment') { |
|
282 | 282 | $sStatus = $this->getScoreFromCheckedAddresses($oAddress); |
283 | 283 | } |
284 | 284 | return $sStatus; |