Skip to content

Commit

Permalink
Merge pull request #12 from SeBuDesign/develop
Browse files Browse the repository at this point in the history
Release 1.2.4
  • Loading branch information
svennis94 authored Jun 1, 2018
2 parents 671140a + be72b62 commit 835a742
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/Helpers/ServiceHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ class ServiceHelper
const IDEAL_VAN_LANSCHOT = 'FVLBNL22';
const IDEAL_KNAB_BANK = 'KNABNL2H';
const IDEAL_BUNQ = 'BUNQNL2A';

const IDEAL_MONEYOU = 'MOYONL21';

/**
* Is the string a valid iDeal bank?
*
Expand All @@ -53,6 +54,7 @@ public static function isValidIdealBank($sIdealBank)
self::IDEAL_VAN_LANSCHOT,
self::IDEAL_KNAB_BANK,
self::IDEAL_BUNQ,
self::IDEAL_MONEYOU,
]);
}

Expand Down Expand Up @@ -102,4 +104,4 @@ public static function isValidBuckarooService($sBuckarooService)
]);
}

}
}
6 changes: 5 additions & 1 deletion src/IdealTransaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ public static function getStaticIdealBanks()
'name' => 'Bunq',
'code' => ServiceHelper::IDEAL_BUNQ,
],
[
'name' => 'Moneyou',
'code' => ServiceHelper::IDEAL_MONEYOU,
],
];
}

Expand All @@ -103,4 +107,4 @@ public function getIdealBanks()
->getRequestParameter('issuer')
->getListItems();
}
}
}

0 comments on commit 835a742

Please sign in to comment.