Open boubbin opened 11 years ago
Has it been verified that nothing breaks after the modification done to gateway.php?
As seen above its now been committed. I wonder if it also fixed the issues people have with the latest changes Luottokunta has done?
I would like to mention that luottokunta is now "nets" and if you visit the url it will tell you that this will probably no longer work:
BULLETIN: We are renewing our service offerings and for this reason ePayment Service has been discontinued from our product range. Receiving payments through the service expires 30.9.2015. We are currently contacting our clients and partners regarding the change of payment service.
I could not find the Service Description for the implementation since Luottokunta is changing their infosec policy 26.11.2012 and only provided me with the latest Service Description which uses sha256 instead of md5 and added security policies.
I rewrote the Luottokunta -gateaway and tested it and got it working, but you also should change the checkFields() -method to use $v == '' instead of empty($v) since some providers return 0 as status codes which does not pass empty() (Like Sampopankki)
gateaway.php:205
And this is the refactored AND tested version of Luottokunta.php -gateaway: