You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
publicfunctioncheckFields(array$fields) {
foreach ($fieldsas$k => $v) {
/* * do not use empty() here since some providers use status code 0 as valid return code */if ($v == '') {
returnFALSE;
}
}
returnTRUE;
}
And this is the refactored AND tested version of Luottokunta.php -gateaway:
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:
The text was updated successfully, but these errors were encountered: