In-House Cards : Sample programs : Bonus Cash : E-Commerce and Bonus Cash
 
E-Commerce and Bonus Cash
 
The following changes/additions have been made to the E-Commerce module in support of the new Bonus Cash feature for In-House Cards module.
The text displayed to the user when Bonus Cash is available on an In-House Cards product being sold or reloaded is set using the following new key in the web.config file:
 
<add key ="IHCBonusCash" value =" - Total load value: $ "/>
 
When an In-House Cards item that is configured with Bonus Cash is sold or reloaded, the value for that key is displayed on the ItemShow.aspx page and in the cart after the name of the item followed by the total load value.
 
Example:
With the key configured as shown above, a $50 gift card that is configured to add 10% Bonus Cash would display as follows on the ItemShow.aspx page and in the shopping cart: $50 Gift Card - Total load value: $ 55.00. Furthermore, if additional money is added to an In-House Cards item that is configured to add 10% Bonus Cash using the E-Commerce module, the item displays in the cart as follows, for example, if reloading with $100.00: In-House Cards Reload - Total load value: $ 110.00.
 
When doing In-House Cards items lookups, the user can now view both the Cash out Balance as well as the Bonus Cash Remaining on their In-House Cards product. This is accomplished by adding the following to the "DWDispRows" key in the web.config file: cash_out_balance, bonus_cash.
 
Example:
To allow users to view the guest name, In-House Cards swipe number, available balance, cash out balance, bonus cash amount and pass expiration date for an In-House Cards product lookup you would configure the key as follows:
 
<add key="DWDispRows" value="guest_name, swipe_no, inv_bal, cash_out_balance, bonus_cash, expires" />