@@ -115,7 +115,7 @@ |
||
115 | 115 | $this->transactionStatusHandler = $transactionStatusHandler; |
116 | 116 | |
117 | 117 | // Fix for Magento 2.3 CsrfValidator and backwards-compatibility to prior Magento 2 versions |
118 | - if(interface_exists("\Magento\Framework\App\CsrfAwareActionInterface")) { |
|
118 | + if (interface_exists("\Magento\Framework\App\CsrfAwareActionInterface")) { |
|
119 | 119 | $request = $this->getRequest(); |
120 | 120 | if ($request instanceof Http && $request->isPost()) { |
121 | 121 | $request->setParam('ajax', true); |
@@ -115,14 +115,14 @@ |
||
115 | 115 | $this->addParameter('language', $this->shopHelper->getLocale()); |
116 | 116 | |
117 | 117 | $this->addAddress($oAddress); |
118 | - if ($this->addressesChecked->wasAddressCheckedBefore($oAddress, $sType,true) === false) { |
|
118 | + if ($this->addressesChecked->wasAddressCheckedBefore($oAddress, $sType, true) === false) { |
|
119 | 119 | $aResponse = $this->send(); |
120 | 120 | if (isset($aResponse['score']) && $aResponse['score'] === 'U') { |
121 | 121 | $unknownDefault = $this->shopHelper->getConfigParam('unknown_value', 'creditrating', 'payone_protect'); |
122 | 122 | $aResponse['score'] = empty($unknownDefault) ? 'G' : $unknownDefault; |
123 | 123 | } |
124 | 124 | if ($aResponse['status'] == 'VALID') { |
125 | - $this->addressesChecked->addCheckedAddress($oAddress, $aResponse, $sType,true); |
|
125 | + $this->addressesChecked->addCheckedAddress($oAddress, $aResponse, $sType, true); |
|
126 | 126 | } |
127 | 127 | |
128 | 128 | return $aResponse; |