Skip to content

Commit

Permalink
Use valid postal accounts in test cases
Browse files Browse the repository at this point in the history
Certain validation platforms refuse to validate IS.1 payments which use a postal account of a bank.
  • Loading branch information
z38 committed Mar 25, 2018
1 parent e0cadcf commit 5aae58a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ protected function buildMessage()
new Money\CHF(30000), // CHF 300.00
'Finanzverwaltung Stadt Musterhausen',
new StructuredPostalAddress('Altstadt', '1a', '4998', 'Muserhausen'),
new PostalAccount('80-151-4')
new PostalAccount('80-5928-4')
);

$transaction3 = new IS2CreditTransfer(
Expand All @@ -59,7 +59,7 @@ protected function buildMessage()
new StructuredPostalAddress('Gartenstrasse', '61', '3000', 'Bern'),
new IBAN('CH03 0900 0000 3054 1118 8'),
'Musterbank AG',
new PostalAccount('80-5928-4')
new PostalAccount('80-151-4')
);

$iban4 = new IBAN('CH51 0022 5225 9529 1301 C');
Expand Down

0 comments on commit 5aae58a

Please sign in to comment.