Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Payment Terms. Net per 10 days, Net per 30 days, Net per ??


Rolf G. Hansen

Recommended Posts

You would want to setup 3 new payment modules for the 3 terms.

 

These would need to be setup to appear/disappear based on the customers_credit_line (new field to add to the customers table)

 

This field can be used to validate the new payment modules.

 

Each payment and shipping module has near the top of the file an enable line. This can be surrounded by an IF statement to allow it to process or not based on the customers_credit_line with a function that simply evaluates to true or false.

 

Note: you would need a duplicate function like this in the Admin that always evaluates to true so the modules function right there.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...