// Merge -> revision 7906
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7909 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user