PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Payment » Payment_Process » Bug #5140

Abstract isLegitimate returns wrong message

Details

Submitted2005-08-18 15:12 UTC
Fromscott at crisscott dot com
StatusOpen
PackagePayment_Process
PHP Version5.0.3
OSN/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