Skip to content

Commit

Permalink
check for iban and bix existance when creating payment data elements
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenmanz committed Mar 16, 2017
1 parent 4a09ba7 commit eb09bf4
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ public function parse(array $entry)
if (empty($paymentInstance['accountHolder'])) {
continue;
}
if (empty($paymentInstance['iban'])) {
continue;
}
if (empty($paymentInstance['bic'])) {
continue;
}

$paymentData[] = SepaPaymentData::fromArray([
'accountOwner' => $paymentInstance['accountHolder'],
Expand Down

0 comments on commit eb09bf4

Please sign in to comment.