[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Credit card surcharge on Checkout.html
At 06:43 AM 9/6/2002 -0700, you wrote:
>At 02:26 PM 9/6/2002 +0100, you wrote:
>>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
>
>Does it work? If so, you can just do
>
>[if value mv_payment eq credit]
> [discount ALL_ITEMS] $s * 1.041 [/discount]
>[else]
> [discount ALL_ITEMS] $s * 1.041 [/discount]
>[/else]
>[/if]
>
>...don't forget to reset the discount at the bottom of receipt.html:
>
> [discount ALL_ITEMS][/discount]
>
>The upside (I guess) of this approach is that it does not call attention
>to the fact that a surcharge is being applied, but the downside is that
>the numbers on the checkout page don't add up: the subtotal is greater
>than the sum of all items ordered. An alternative might be to use (and
>itemize) mv_handling.
>
>
>- Ed L.
I need to correct myself on this, because I was thinking of [discount
ENTIRE_ORDER]. The numbers will add up on the checkout page, but all the
item prices and line subtotals will have increased from what they were up
to that point.
- Ed L.
>>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>
>>
>>_______________________________________________
>>interchange-users mailing list
>>interchange-users@icdevgroup.org
>>http://www.icdevgroup.org/mailman/listinfo/interchange-users
>
>===============================================================
>Increase profits from your Interchange store...
>http://www.newmediaems.com/cgi-bin/nm/software_fus.html
>===============================================================
>New Media E.M.S. Software Solutions for Business
>463 Main St., Suite D eCommerce | Consulting | Hosting
>Placerville, CA 95667 edl@newmediaems.com
>(530) 622-9421 http://www.newmediaems.com
>(866) 519-4680 Toll-Free (530) 622-9426 Fax
>===============================================================
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@icdevgroup.org
>http://www.icdevgroup.org/mailman/listinfo/interchange-users
===============================================================
Increase profits from your Interchange store...
http://www.newmediaems.com/cgi-bin/nm/software_fus.html
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================