Home > CRE Loaded > CVV code bug fix in Credit Card UK with CVC payment module

CVV code bug fix in Credit Card UK with CVC payment module

January 6th, 2010 Leave a comment Go to comments

Recently found a bug in payment module “Credit Card UK with CVC”. I was using this module with CRE Loaded pro 6.4.0.

This payment module sends middle digits of CC and CVV code in an email to admin. Due to the bug this CVV code value was missing.

To fix the issue open file includes/modules/payment/cc_uk.php in editor and find line

$this->cc_issue = (isset($_POST['cc_issue'])) ? $_POST['cc_issue'] : '';

after this line add line

$this->cc_ccv = (isset($_POST['cc_ccv'])) ? $_POST['cc_ccv'] : '';

and you are done. Save the file and test.

Please be sure to backup your file before editing.

Categories: CRE Loaded Tags:
  1. No comments yet.
  1. No trackbacks yet.