Fixing the currency

If you have more than one currency available for your merchant code, the Choose Currency list box will be displayed automatically when the Payment Selection page is displayed.

You can use a parameter in the order details submission to hide this list box, so that shoppers cannot change the currency used in the Payment Service pages - this effectively "fixes" the currency you specify in the value of the currency parameter in the order details submission.

To fix the currency used in the Payment Service pages, include the hideCurrency parameter, with its value set to "true", in the order details submission. Note that the value of the hideCurrency parameter can also be left empty - a null value defaults to "true".

For example, include the following in the order details submission:

<input type=hidden name="hideCurrency" value="true">

To enable display of the Choose Currency list box, set the value to "false" or ensure that the hideCurrency parameter is not included in the order details submission.

If you have enabled shoppers to bypass the Payment Selection Page, the Choose Currency list box will not be shown. Accordingly, you do not need to use the hideCurrency parameter. For more details, please refer to Bypassing the Payment Selection page.