Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CVV v.1.24 for MS2 WARNING


ronr1999

Recommended Posts

I've installed this CVV contrib and now get this Warning when clicking on continue from checkout_payment.

 

I've checked this install twice and everything looks ok (including sql mods). Here's the warnings:

 

Warning: Missing argument 5 for validate() in /home/ron-ri2/public_html/caddybug-usa/catalog/includes/classes/cc_validation.php on line 20

 

Warning: Cannot modify header information - headers already sent by (output started at /home/ron-ri2/public_html/caddybug-usa/catalog/includes/classes/cc_validation.php:20) in /home/ron-ri2/public_html/caddybug-usa/catalog/includes/functions/general.php on line 29

 

This is the line of code in cc_validate.php:

    function validate($number, $expiry_m, $expiry_y, $cvv, $cr_card_type) {
     $this->cc_number = ereg_replace('[^0-9]', '', $number);

 

I'm not quite where to start looking. If anyone has any ideas, I'd appreciate some help.

 

RonR

Link to comment
Share on other sites

// begin cvv contribution
     $cc_validation = new cc_validation();
     $result = $cc_validation->validate($HTTP_POST_VARS['cc_number'], $HTTP_POST_VARS['cc_expires_month'], $HTTP_POST_VARS['cc_expires_year'], $HTTP_POST_VARS['cvvnumber'], $HTTP_POST_VARS['cc_type']);
// end cvv contribution

 

I've looked around at this and it appers that "cc_type" is missing from this line of contribution code for cc.php. This is needed in cc_validate.php.

 

But now I get "Credit Card Error" with the red line but on message. Could this missing code that I added now being causing an unknown cc error ?

 

I'm curious how this contribution ever worked !

 

RonR

Link to comment
Share on other sites

Maybe this has something to do with having Authorize.net module installed first and cc.php is using auth.net's cc_validate ?

 

Again, I'm just getting "CREDIT CARD ERROR!" with no error message. REALLY hard to debug with no message.

 

RonR

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...