Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Payment module


PeeJay

Recommended Posts

Hello,

 

I have made one of my payment module to be disabled when the total exceeds the maximum. I used the below code:

 

 if ( ($this->enabled == true) && ($order->info['total'] >= 100) ) {
        $this->enabled = false;
}

It works fine but I would like to show some texts which explains why that method was disabled. Is it possible? I tried myself but could not show any text!

 

If you have some idea or pointer, please help me.

 

-PeeJay

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...