Home » Payment » Payment_Process » Bug #5140
Abstract isLegitimate returns wrong message
Details
| Submitted | 2005-08-18 15:12 UTC |
|---|---|
| From | scott at crisscott dot com |
| Status | Open |
| Package | Payment_Process |
| PHP Version | 5.0.3 |
| OS | N/A |
| Roadmaps | (Not assigned) |
Comments
[2005-08-18 15:12 UTC] scott at crisscott dot com
Description:
------------
Payment_Process_Result::isLegitimate() returns an error that says "parse() not implemented". This is a minor issue but rather confusing when trying to write and test new drivers.
Actually, parseCallback() has the same problem.
Test script:
---------------
// Should be...
function isLegitimate()
{
return PEAR::raiseError('isLegitimate() not implemented', PAYMENT_PROCESS_ERROR_NOTIMPLEMENTED);
}
Expected result:
----------------
isLegitimate() not implemented
Actual result:
--------------
parse() not implemented