Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CCGV errors - Call to a member function...


cbullock

Recommended Posts

Hi everyone...

 

I have been fighting this error for months, applied all the fixed I can find that may be related, updated to the latest version of ccgv 5.20 and still get the error.

 

ERROR:

 

Fatal error: Call to a member function update_credit_account() on a non-object in /home/.........l/includes/modules/payment/paypal_standard.php on line 473

 

The Code is:

 

// Start - CREDIT CLASS Gift Voucher Contribution
	$order_total_modules->update_credit_account($i);
// End - CREDIT CLASS Gift Voucher Contribution

 

Could really use a hand, someone must have more of a clue than me, it's not that hard trust me :¬)

 

Chris

Link to comment
Share on other sites

it's not that hard trust me :¬)

Oh really?

 

Did you try

// Start - CREDIT CLASS Gift Voucher Contribution
// CCGV 5.19 Fix for GV Queue with Paypal IPN
//		  $order_total_modules->update_credit_account($i);
		$order_total_modules->update_credit_account($i,$insert_id);
// End - CREDIT CLASS Gift Voucher Contribution

Link to comment
Share on other sites

Oh really?

 

Did you try

// Start - CREDIT CLASS Gift Voucher Contribution
// CCGV 5.19 Fix for GV Queue with Paypal IPN
//		  $order_total_modules->update_credit_account($i);
		$order_total_modules->update_credit_account($i,$insert_id);
// End - CREDIT CLASS Gift Voucher Contribution

 

Yes I tried that one but removed it when I updated to 5.20a as it did not fix it. I have just re-tried it to see if it makes a difference but to no avail :(

 

I have re-coded all of the files with the latest version.

 

Forgot to mention, though I am sure it is apparent, it is upon clicking 'return to merchant' after making a paypal payment

 

Regards

Chris

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...