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.
Bookmarks