Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Credit Card module


damastav

Recommended Posts

You might find a post in Hints, Tips & Tricks about this. Essentially, you remove the American Express and Discover lines from includes/classes/cc_validation.php. For example, for American Express, you would remove the following two lines:

      } elseif (ereg('^3[47][0-9]{13}$', $this->cc_number)) {
       $this->cc_type = 'American Express';

Hth,

Matt

Link to comment
Share on other sites

Thanks for the help. Another more complicated thing that I may need is the ability to charge an extra surcharge/percentage for certain types of credit cards. Does anybody know of anything that allows me to do this?

Link to comment
Share on other sites

There is a contribution for that. I believe that it was written by bluephoenix.

 

Note: surcharging is illegal and/or against the CC terms of service in some places. Check terms of service and local laws before implementing.

 

Hth,

Matt

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...