Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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

The Hobby Undergound..."For The Pure Hobbyist"

Posted

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

while (!succeed) {try()};

 

GMT -6:00

Posted

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;

    }

"Any fool can know. The point is to understand." -- Albert Einstein

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.

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...