By updating your POST to Payment Pages as described below, you can change the language and formatting of text displayed to better suit the needs of your international customers. Such changes are applied to content on the Payment Pages during the checkout process and also to the receipt emailed to the customer following a transaction (using our Rule manager). Read on to learn how.
Please refer to the following HTML example. Your system will need to submit the additional field locale. We will use the value of this field when rendering the page, to ensure the correct language is displayed to the customer.
Only pages hosted by Trust Payments are translated. If the customer is being redirected to a page hosted by a third-party (e.g. when using an APM), the language displayed is controlled by the aforementioned third party.
The following example sets the language of the Payment Pages to Swedish:
<html>
<body>
<!--YOUR HTML-->
<form method="POST" action="<DOMAIN>/process/payments/choice">
<!--Other fields-->
<input type="hidden" name="locale" value="sv_SE">
<input type="submit" value="Pay">
</form>
</body>
</html>
Replace <DOMAIN>
with a supported domain. Click here for a full list.
Supported territories
locale value | Description |
cy_GB | Welsh, United Kingdom |
da_DK | Danish, Denmark |
de_DE | German, Germany |
en_US | English, United States |
en_GB | English, United Kingdom |
es_ES | Spanish, Spain |
fr_FR | French, France |
it_IT | Italian, Italy |
nl_NL | Dutch, The Netherlands |
no_NO | Norwegian, Norway |
sv_SE | Swedish, Sweden |