More and more sites in the UK now surcharge for accepting credit cards. I've just booked 4 tickets with a no frills airline and they wanted £18. What was worse they wanted £8 to pay by debit card which I thought was a bit much.

We accept credit cards but I would like to encourage debit cards. I have therefore asked Conor to customise his mod for my site so it includes support for surcharges/discounts.

Each Card Type can have a Table of Rates specified which result in particular order values having either a Surcharge or a Discount applied when a customer choses that Card Type to pay for their order.

The Tables of Rates are comma-separated lists of Limits/Rates, each of which is an Order Value Limits Range and a Rate, separated by a colon.

There are two ways to specify the limits:
1. A single number specifies a maximum limit. The minimum is then assumed to be zero.
2. Two numbers separated by a dash, e.g. 30-50, specifies a minimum and a maximum limit.

For example, the following could be entered for the Visa Card Surcharges/Discounts configuration value:

1000:2.00,3000:1.50,*:0

This would result (if the Surcharges/Discounts functionality is enabled of course) in any orders with a default currency value of less than 1000 having a surcharge of 2.00 applied. Orders from 2000 up to 3000 would have a surcharge of 1.50 applied. All remaining order values would have no surcharge applied.

The asterix symbol (‘*’) is a special wildcard that can be used to match any order value so it can be used as a catch-all, if necessary.

Rates can be defined as either:
1. A specific value (E.g. “2.50”).
2. A percentage value (E.g. “3%”).

Discounts are entered by preceding the rate with a minus symbol (‘-’).

An example of discounts to be applied to a card for orders could be defined as:

1000-2000:-0.50,*:-2%

This would result in orders from 1000 up to 2000 having a 0.50 discount applied and all orders of 2000 and above having a two percent discount applied.

Specific messages can be defined for each Card Type which uses the Surcharges/Discounts functionality by creating a define in the Language Definitions file. These specific messages will then be displayed to the user in the order summary rather than the default text of “Card Surcharge” or “Card Discount”.

Example defines have been added to the Languages Definition file. Simply uncomment and edit them or create any that do not yet exist.
This will allow me to either reward or surcharge depending on the card used. I think there is no one size fits all when it comes to surcharges so this module will be fully flexible including doing nothing.

Here's the crunch. I'm looking for fellow Zenners who would like to chip in and share the costs with me. If I can get enough people interested I'm sure we could twist Conor's arm and get him to throw in a free upgrade to 3D Secure when that comes out.

Could anyone interested send me a PM.

Regards

Brent