Finance-BankVal-UK
view release on metacpan or search on metacpan
lib/Finance/BankVal/UK.pm view on Meta::CPAN
if ( ( $uid !~ /\w/ ) || ( $pin !~ /\w/ ) ) {
$error .=
"No UserID / PIN supplied, please visit https://www.unifiedsoftware.co.uk/request-a-free-trial/: ";
}
close UIDCONF;
}
}
sub loadContent {
$json =
"{'credentials':{'uname':'$uid','pin':'$pin'},'account':{'account':'$account','sortcode':'$sortcode'}}";
}
#sub to format the error message in the correct expected format with all nodes etc
sub formatErrorMsg {
if ( substr( $responseString, 0, 7 ) eq 'INVALID' ) {
$responseString =
"{\"validationID\": \"\",\"BankValUK\": {\"result\":\""
. $responseString . "\"}}";
}
else {
( run in 0.238 second using v1.01-cache-2.11-cpan-4d50c553e7e )