PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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