#1783 closed Bug/Fehler (fixed)

Bankdaten-Prüfmethode MarkC2 unvollständig

Reported by: vr Owned by: somebody
Priority: hoch Milestone: modified-shop-2.0.5.1
Component: Shop Version: 2.0.5.0

Description (last modified by vr)

Eine korrekte Kontonr der Sparkasse Mittelholstein blieb in der Bankdatenprüfung hängen. Ursache war die Prüfmethode für Prüfziffer C2, hier definiert:
https://www.bundesbank.de/resource/blob/603320/16a80c739bbbae592ca575905975c2d0/mL/pruefzifferberechnungsmethoden-data.pdf
und in /includes/classes/banktransfer_validation.php implementiert.

Die Prüfmethode für Prüfziffer C2 wurde 2017 geändert, es kam eine dritte Prüfvariante dazu. Neue Version der Prüfmethode MarkC2:

private function MarkC2($AccountNo) {
    $AccountNo = $this->ExpandAccount($AccountNo);
    $markC2 = $this->Mark22($AccountNo);
    if($markC2 != 0) {
      $markC2 = $this->Mark00($AccountNo);
    }
    if($markC2 != 0) {
      $markC2 = $this->Mark04($AccountNo);
    }
    return $markC2;
  }

Attachments (1)

changeset_12662.zip (21.6 KB) - added by Tomcraft 19 months ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 19 months ago by Tomcraft

  • Milestone set to modified-shop-2.0.5.1

comment:2 Changed 19 months ago by vr

  • Description modified (diff)

comment:3 Changed 19 months ago by GTB

  • Resolution set to fixed
  • Status changed from new to closed

In 12662:

fix #1783 - fix banktransfer validation method MarkC2

Changed 19 months ago by Tomcraft

Add Comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.