Contributions

Credit Modules (Category Index)
Search: 

Discount for Payment Type

This order total class gives a percentage discount based on the payment type used.

So if you want to give Credit Card payments a discount you can,

Payment type is set in admin, and you can also set a minimum order amount before the discount is given.

Expand All / Collapse All

Discount for payment type v1.2 John Howell 20 Jan 2004

I have re-named the tables so this module can be installed with the payment type fee module.
As they were based on the same bit of code they used the same table names.
If both modules were installed the seconf one took on the setting of the first.

One thing that wasn't clear to me was the name of the payment type to put in the field.
Don't use the label name as I did. Use the name of the class for the payment type.
This means opening the payment file up to read the class.

i.e. for this one:

class pm2checkout {

so in the payment type name put pm2checkout

Note that it is case sensitive!

Discount for payment type v1.1_fr fram 1 May 2003
Discount for payment type v1.1 Ian C Wilson 11 Aug 2002
Discount for Payment Type v1.0 Ian C Wilson 11 Aug 2002

Note: Contributions are used at own risk.