Hi
I am using currency side box and have the currencies Euro (default) GBP and USD activated. I am using a payment process that I have fully coded myself & it works perfectly in the default currency.
When using either GBP or USD the figures are transferring to the payment processor in the default currency Euro but the order is being placed in the db as GBP.
Please see extracts from the source code below:
Payment Information Page (checkout_payment)
<fieldset id="checkoutOrderTotals">
<legend id="checkoutPaymentHeadingTotal">Your Total</legend>
<div id="otsubtotal">
<div class="totalBox larger forward">£1.07</div>
<div class="lineTitle larger forward">Sub-Total:</div>
</div>
<br class="clearBoth" />
<div id="otshipping">
<div class="totalBox larger forward">£6.23</div>
<div class="lineTitle larger forward">Flat Rate - Eire (Eire):</div>
</div>
<br class="clearBoth" />
<div id="ottotal">
<div class="totalBox larger forward">£7.30</div>
<div class="lineTitle larger forward">Total:</div>
</div>
<br class="clearBoth" />
</fieldset>
Order confirmation Page (checkout_confirmation)
<div id="orderTotals"><div id="otsubtotal">
<div class="totalBox larger forward">£1.07</div>
<div class="lineTitle larger forward">Sub-Total:</div>
</div>
<br class="clearBoth" />
<div id="otshipping">
<div class="totalBox larger forward">£6.23</div>
<div class="lineTitle larger forward">Flat Rate :</div>
</div>
<br class="clearBoth" />
<div id="ottotal">
<div class="totalBox larger forward">£7.30</div>
<div class="lineTitle larger forward">Total:</div>
</div>
<br class="clearBoth" />
</div>
<form name="checkout_confirmation" action="https://www.mysite.com/index.php?main_page=checkout_process&zenid=03a1ef2ff0044ce55addc43b051b1b6f" method="post" id="checkout_confirmation" onsubmit="submitonce();"><input type="hidden" name="merchantid" value="somevalue" />
<input type="hidden" name="amount" value="820" />
<input type="hidden" name="amount2" value="8.2" />
<input type="hidden" name="ponum" value="20081125105851" />
<input type="hidden" name="cvn" value="345" />
<input type="hidden" name="cctype" value="VISA" />
<input type="hidden" name="ccowner" value="some person" />
<input type="hidden" name="currency" value="GBP" />
<input type="hidden" name="creditCard1" value="<removed>" />
<input type="hidden" name="exdate1" value="01" />
<input type="hidden" name="exdate2" value="10" /><hr />
<div class="buttonRow forward"><input type="image" src="includes/templates/ostrich_general/buttons/english/button_confirm_order.gif" alt="Confirm Order" title=" Confirm Order " name="btn_submit" id="btn_submit" /></div>
</form>
As you can see the form sending the data to the checkout_process is in the figures for the default currency. Can you tell me how & where to change this.
Your help would be much appreciated.
Jen![]()



