Home » Payment » Payment_Process » Bug #1733
Accessing nonexistant property and constant in Process.php
Details
| Submitted | 2004-06-28 10:20 UTC |
|---|---|
| From | aashley at optimiser dot com |
| Assigned | ieure |
| Status | Closed |
| Package | Payment_Process |
| PHP Version | Irrelevant |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2004-06-28 10:20 UTC] aashley at optimiser dot com
Description:
------------
In Process.php there is an access to $this->_request->_payment->_driver; _driver does not exist, this is called _type on all the Type objects.
Also there is usage of PAYMENT_PROCESS_TYPE_CREDITCARD this constant is not defined anywhere.
Due to these two problems CVV checking will never be done.
patch at:
http://frood.cernun.net/stuff/Process.php-validate.patch
[2004-06-29 01:38 UTC] aashley at optimiser dot com
yeah i did reverse the patch. the two changes in the patch happen at lines 602 and 604 of Process.php.
I'll post an updated version of the patch when i get into the office today.
[2004-06-29 03:13 UTC] aashley at optimiser dot com
the patch at the above URL is now correct.