Contributions
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
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!
french release for "Discount for payment type v1.1"
Version francaise de la contrib." Discount for payment type v1.1"
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.
[update : now accepts multilple payment types as comma separate list in admin]
Payment type is set in admin, and you can also set a minimum order amount before the discount is given.
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.
Note: Contributions are used at own risk.