osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Error with Ipayment Module

This is a discussion on Error with Ipayment Module within the osCMax v2 Features Discussion forums, part of the osCMax v2.0 Forums category; I get the following error when using the Ipayment module. Warning: Missing argument 4 for cc_validation::validate() in /home/msulliva/public_html/includes/classes/cc_validation.php on line ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Features Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-02-2006, 07:23 PM
Lurker
 
Join Date: Mar 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
msullivan52
Default Error with Ipayment Module

I get the following error when using the Ipayment module.

Warning: Missing argument 4 for cc_validation::validate() in /home/msulliva/public_html/includes/classes/cc_validation.php on line 17

Warning: Missing argument 5 for cc_validation::validate() in /home/msulliva/public_html/includes/classes/cc_validation.php on line 17


I used the fix reported in the bug tracker #0000116...

Edit cc.php in your modules directory change line 103.

Code:
$result = $cc_validation->validate($HTTP_POST_VARS['cc_number'], $HTTP_POST_VARS['cc_expires_month'], $HTTP_POST_VARS['cc_expires_year'], $HTTP_POST_VARS['cc_checkcode'], $HTTP_POST_VARS['cc_card_type']);
Nothing has worked. I have tried authorize.net successfully with the test card #411111111111.

Help! Please.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 04-02-2006, 08:41 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,568
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default RE: Error with Ipayment Module

You may have to modify the ipayment.php like the cc.php file.
From:
Code:
      $result = $cc_validation->validate($HTTP_POST_VARS['ipayment_cc_number'], $HTTP_POST_VARS['ipayment_cc_expires_month'], $HTTP_POST_VARS['ipayment_cc_expires_year']);
To:
Code:
     $result = $cc_validation->validate($HTTP_POST_VARS['ipayment_cc_number'], $HTTP_POST_VARS['ipayment_cc_expires_month'], $HTTP_POST_VARS['ipayment_cc_expires_year'], $HTTP_POST_VARS['ipayment_cc_checkcode'], $HTTP_POST_VARS['ipayment_cc_card_type']);
(not tested!)

Please tell us if that solved your problem.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 04-02-2006, 08:45 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,568
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default RE: Error with Ipayment Module

BTW there seams to be a new version (uploaded last week):
http://www.oscommerce.com/community/contributions,1676
Milage may vary... (Use at your own risk)

Maybe there was something they changed on there server.....???
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 04-03-2006, 08:38 PM
Lurker
 
Join Date: Mar 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
msullivan52
Default RE: Error with Ipayment Module

I changed the code in Line 107 in the ipayment module, but it still shows the above errors.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
error message (payment module) louis1st osCMax v2 Installation issues 1 11-24-2005 06:46 AM
UPS module error GeorgeW osCMax v2 Installation issues 2 07-18-2005 01:59 PM
FEDEX Module Error reggiman osCMax v1.7 General Mods Discussion 3 02-15-2005 04:04 PM
Securing iPayment payment module imlek osCommerce 2.2 Modification Help 1 08-23-2004 06:50 AM
Downloads Module Error rustblack osCommerce 2.2 Modification Help 1 10-05-2003 11:21 PM


All times are GMT -8. The time now is 09:43 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax