Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

trying to add fastpay payment gateway


Guest

Recommended Posts

trying to add fastpay payment gateway and this error comes up

 

Fatal error: Call to undefined function: tep_get_free_charger() in /home/sites/site5/web/catalog/includes/modules/payment/fastpay.php on line 24

 

 

any clues i have used it before with no probs

had to reinstall and now it errors

Link to comment
Share on other sites

It seems from the error msg that there is a problem with the function 'tep_get_free_charger', as I don't know what it does, I have removed it along with the code below, and now the modules appear ok in admin/modules, but have'nt installed to see what the module still works, let me know if it does.

 

 

// BOF: WebMakers.com Added: Free Payments and Shipping

if (tep_get_free_charger($this-> code)) {

$this->enabled = ((MODULE_PAYMENT_fastpay_STATUS == 'True') ? true : false);

}

// EOF: WebMakers.com Added: Free Payments and Shipping

Link to comment
Share on other sites

  • 4 weeks later...
  • 4 weeks later...
It seems from the error msg that there is a problem with the function 'tep_get_free_charger', as I don't know what it does, I have removed it along with the code below, and now the modules appear ok in admin/modules, but have'nt installed to see what the module still works, let me know if it does.

 

 

// BOF: WebMakers.com Added: Free Payments and Shipping

if (tep_get_free_charger($this-> code)) {

$this->enabled = ((MODULE_PAYMENT_fastpay_STATUS == 'True') ? true : false);

}

// EOF: WebMakers.com Added: Free Payments and Shipping

you need to comment out a few lines

 

// BOF: WebMakers.com Added: Free Payments and Shipping

// if ( tep_get_free_charger($this->code) ) {

$this->enabled = ((MODULE_PAYMENT_fastpay_STATUS == 'True') ? true : false);

// }

// EOF: WebMakers.com Added: Free Payments and Shipping */

 

 

this should make it work, at least it did for me.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...