// Merge -> revision 7906

This commit is contained in:
rMalie
2011-08-05 13:26:44 +00:00
parent bcd83acb8b
commit 90fcde2539
55 changed files with 174 additions and 1296 deletions
+6 -2
View File
@@ -71,7 +71,9 @@ class PrepaidServicesAPI
$data_array = explode("\n", $data,7);
$resultcode = trim($data_array[0]);
$errorcode = trim($data_array[1]);
$errormessage = trim($data_array[2]);
//$errormessage = trim($data_array[2]);
// Todo : Find a way to have translation
$errormessage = 'Transaction could not be initiated due to connection problems. If the problem persists, please contact our support.';
return array($resultcode, $errorcode, $errormessage);
}
@@ -155,8 +157,10 @@ class PrepaidServicesAPI
$dataarray=explode("\n", $data,7);
$resultcode=trim($dataarray[0]);
$errorcode=trim($dataarray[1]);
$errormessage=trim($dataarray[2]);
//$errormessage=trim($dataarray[2]);
$errormessage = 'The transaction could not be completed. This may have happened due to a temporary connection problem.'.
' Please press the "reload" button in your browser or the link below to reload this page to retry completing your transaction. ';
return array ($resultcode, $errorcode, $errormessage);
}
else