glusniffer1 Posted June 27, 2004 Posted June 27, 2004 Any ideas on this error? Fatal error: Call to undefined function: paypal_check_order_status() in c:\hosting\webhost4life\member\fireball\catalog\includes\modules\payment\paypal.php on line 103 Quote The Hobby Undergound..."For The Pure Hobbyist"
TomThumb Posted June 27, 2004 Posted June 27, 2004 Does the file /catalog/includes/modules/payment/paypal/functions.php exist? Does // begin PayPal_Shopping_Cart_IPN require_once DIR_WS_MODULES . 'payment/paypal/functions.php'; paypal_check_order_status(); // end PayPal_Shopping_Cart_IPN exist in /catalog/includes/application_top.php Quote while (!succeed) {try()}; GMT -6:00
glusniffer1 Posted June 27, 2004 Author Posted June 27, 2004 Yes those files and code are there...Do I need to do something at the PayPal site? Quote The Hobby Undergound..."For The Pure Hobbyist"
devosc Posted June 27, 2004 Posted June 27, 2004 Might be advisable to upgrade to v2.4, I think I did do something to resolve this, in catalog/includes/modules/payment/paypal.php change the function before_process() to function before_process() { global $paypal_order_id, $cart; //function paypal_check_order_status is located in modules/payment/paypal/functions.php //which should be included in includes/application_top.php if(!function_exists('paypal_check_order_status')) include_once DIR_WS_MODULES . 'payment/paypal/functions.php'; if (paypal_check_order_status()) { tep_redirect(tep_href_link(FILENAME_SHOPPING_CART, '', 'SSL')); } else { include DIR_WS_MODULES . 'payment/paypal/checkout_process.php'; } exit; } Quote "Any fool can know. The point is to understand." -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.