View Issue Details

IDProjectCategoryView StatusLast Update
0005587OXID eShop (all versions)1.03. Basket, checkout processpublic2014-01-06 13:53
Reporterindianer3c Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.8.1 / 5.1.1 
Fixed in Version4.8.2 / 5.1.2 
Summary0005587: Improve Sepa BIC / IBAN Error Handling
Descriptionoxinputvalidator.php -> validatePaymentInputData()
<php>
// Check BIC / IBAN
if ( $oSepaValidator->isValidBIC($aDynvalue['lsblz']) && $oSepaValidator->isValidIBAN($aDynvalue['lsktonr']) ) {
  $mxValidationResult = true;
}

// If can't meet BIC / IBAN formats check account number and bank code with old validation
if ( !$mxValidationResult ) {
  ...
}

return $mxValidationResult;
</php>

For example: if the BIC has been entered correctly but not the IBAN, further processing of the validation method will lead to a wrong error message. It just will tell the user that the Bank-Code he entered is wrong instead of telling hime directly that it's the IBAN that has wrong.
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Activities

There are no notes attached to this issue.