[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Credit card surcharge on Checkout.html
I want to add 4.1% surcharge on credit card transactions only.
I have searched the mail archives and come up with
[discount ALL_ITEMS] $s * 1.041 [/discount] at the top of ord/checkout.html
This would seem to add a blanket 4.1% surcharge irrespective of if the order
is by PO or Credit card.
Could I put this code in to the page as suggested below?
Or would it simply be applied to the [total-cost] variable in
ord/checkout.html with an <if> statement?
Has anyone else achieved this result?
Thanx in advance
[or value payment_method eq credit]
[then]
<input type=hidden name=mv_order_profile value=credit_card>
[discount ALL_ITEMS] $s * 1.041 [/discount]
<p> </p>
<!--- credit card information --->
<table cellspacing=0 cellpadding="0">
<tr>
<td>
<table border=0 cellspacing=0 cellpadding=4 align=center>
<tr>
<td colspan="2" class="contentbar2">
<b>
[error std_label="Credit Card Information"
name=mv_credit_card_valid]
[if variable MV_DEMO_MODE]
<BR>
(test number <A HREF="javascript:void 0"
onclick="checkout.mv_credit_card_number.value='4111 1111 1111 1111'; return
false;">4111 1111 1111 1111</A>)[/if]
</b>
</td>