This is one evil package to install... if you got all the pear stuff right, have followed the main install guide, set up your live or sandbox account, and get the following error during checkout:
Warning: Missing argument 4 for validate() ...
Warning: Missing argument 5 for validate() ...
then you are on the right track...
open paypal_dp.php and find this line:
$result = $cc_validation->validate($HTTP_POST_VARS['paypal_cc_number'], $HTTP_POST_VARS['paypal_cc_expires_month'], $HTTP_POST_VARS['paypal_cc_expires_year']);
change it to this:
$result = $cc_validation->validate($HTTP_POST_VARS['paypal_cc_number'], $HTTP_POST_VARS['paypal_cc_expires_month'], $HTTP_POST_VARS['paypal_cc_expires_year'], $HTTP_POST_VARS['paypal_cc_cvv2'], "");
I am not sure why the warnings show since litterally hundreds of warnings per php page are thrown in all version of osc, but it must be a warning level set differently in the pear include classes... not sure where.
--gabe




LinkBack URL
About LinkBacks






Bookmarks