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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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']); Help! Please. |
|
#2
| ||||
| ||||
| 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']); 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']); Please tell us if that solved your problem. |
|
#3
| ||||
| ||||
| 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! |
|
#4
| |||
| |||
| I changed the code in Line 107 in the ipayment module, but it still shows the above errors. |
| Thread Tools | |
| |
| ||||
| 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 |