Home » Payment » Payment_Process » Bug #5375
PAYMENT_PROCESS_TYPE_CREDITCARD never defined
Details
| Submitted | 2005-09-13 02:39 UTC |
|---|---|
| From | aashley at adamashley dot name |
| Assigned | jstump |
| Status | Closed |
| Package | Payment_Process |
| PHP Version | Irrelevant |
| OS | Any |
| Roadmaps | (Not assigned) |
Comments
[2005-09-13 02:39 UTC] aashley at adamashley dot name
Description:
------------
PAYMENT_PROCESS_TYPE_CREDITCARD used on line 502 of Process.php is never defined. Therefore the CVV checks will never get performed.
PAYMENT_PROCESS_TYPE_CREDITCARD should be replaced with the string 'CreditCard'.
This is a regression of the fix submitted for #1733 and committed in 1.31.
In 1.32 you reverted 'CreditCard' back to PAYMENT_PROCESS_TYPE_CREDITCARD but still have not actually defined it.
[2005-09-13 15:28 UTC] jstump at php dot net
I've fixed this in CVS. I'm currently preparing for a 0.6.3
release in the coming weeks after I've finished an internal
project that will require fixes and updates to the
Payment_Process library. Once that project is done I'll
release it.
Until then you can checkout Payment_Process and install
0.6.3 manually with the following steps:
0.) Log into CVS (anonymously or with your account if you
have one)
1.) cvs -d:pserver:anonymous@cvs.php.net:/repository co
pear/Payment_Process
2.) cd pear/Payment_Process
3.) pear package-validate package.xml
4.) (if not errors from #3) pear package
5.) pear install Payment_Process-0.6.3.tgz
When the final release comes out you'll have to force an
upgrade, but that should get you rolling. Pay attention to
the changelog as there are some minor BC breaks in 0.6.3.