Cards & Wallets · PaySuite payment page · Customising the payment page

Skin localisation

All text within the PaySuite Payment Page is by default available in 29 different languages, ISO-639-1 codes en, bg, cs, cy, da, de, el, es, et, fi, fr, hr, hu, in_ID, it, ja, lt, nl, no, pl, pt, pt_BR, ro, ru, sk, sl, sv, th, tr, zh_CN, zh_TW. You can control which locale is used in the hosted initialisation request (see Hosted payments API). When determining what locale to use when generating HTML, the PaySuite Payment Page uses the priority order

  1. Locale in hosted initialisation request
  2. Locale requested by the user's browser
  3. Application default (en)

The skin can change any text for any locale by providing one or more messages files. Each file sets what text is to be shown on the page for a defined set of keys. The file(s) go in a 'locale' folder at the top of the skin zip and must be named messages_<locale>.properties to specify the properties for a given locale. To change the messages for the default locale name the file messages.properties. Messages from the default locale are used when there is no locale specific message.

So, for example, to change the 'pay now' button to 'continue' the messages file could contain the following. The line beginning '#' is a comment.

messages.properties
# Custom text for payment button
payment.pay.button = Continue

And for German it could be:

messages_de.properties
payment.pay.button = Fortsetzen

When a key is not in a messages file then other files are checked using the following order or precedence:

  1. Skin file for the specified locale
  2. Skin default file
  3. Access PaySuite file for the specified locale
  4. Access PaySuite default file

What that means, in the above example, is that payment.pay.button = Continue will be used for all locales where the skin doesn't provide a locale specific translation. So if the skin doesn't provide a messages_fr.properties, then the value 'Continue' will be used for the pay button, and not the 'Payer' defined in the Access PaySuite French messages file. Should you wish to use the Access PaySuite messages as the fallback, and only change the button for English, then the skin should provide messages_en.properties instead of messages.properties.

HTML in message values

The values for the message keys can contain HTML, however they should not contain any javascript. For those labels that are used in attributes in the page, such as buttons and placeholders, HTML will not work.

List of Message Keys

Page titles

These are the titles in the page metadata.

Message KeyDescriptionDefault ValueParameters
payment.title.register-cardThe page for paying with no saved cardsRegister Card
payment.title.card-list-selectionThe page for paying when the user has at least one saved card.Card List Selection
payout.title.card-list-selectionThe page for making a payout.Card List Selection
payment.title.3d-secureThe page the user is taken to before being redirected to 3D Secure.3D Secure
payment.title.top-redirectThe page the user is taken to before redirected when escaping a frame, such as to PayPalTop Redirect
manage.title.manage-cardsThe manage cards pageManage Cards

Payment page

Text on pages for performing a payment.

Message KeyDescriptionDefault ValueParameters
payment.card.pan.labelLabel for the card number field.Card Number
payment.card.pan.placeholderPlaceholder for the card number field.
payment.card.cardholder-name.labelLabel for the card holder name field.Cardholder Name
payment.card.cardholder-name.placeholderPlaceholder for the card holder name field.
payment.card.nickname.labelLabel for the card nickname field.Card Nickname
payment.card.nickname.placeholderPlaceholder for the card nickname field.
payment.card.issue-number.labelLabel for the issue number field.Issue Number (if applicable)
payment.card.issue-number.placeholderPlaceholder for the issue number field.
payment.card.csc.labelLabel for the security code field.CSC Number
payment.card.csc.placeholderPlaceholder for the security code field.
payment.card.billing-address-line1.labelLabel for the address line 1 field.Address Line 1
payment.card.billing-address-line1.placeholderPlaceholder for the address line 1 field.
payment.card.billing-address-line2.labelLabel for the address line 2 field.Address Line 2
payment.card.billing-address-line2.placeholderPlaceholder for the address line 2 field.
payment.card.billing-address-line3.labelLabel for the address line 3 field.Address Line 3
payment.card.billing-address-line3.placeholderPlaceholder for the address line 3 field.
payment.card.billing-address-line4.labelLabel for the address line 4 field.Address Line 4
payment.card.billing-address-line4.placeholderPlaceholder for the address line 4 field.
payment.card.billing-address-city.labelLabel for the city field.City
payment.card.billing-address-city.placeholderPlaceholder for the city field.
payment.card.billing-address-region.labelLabel for the region field.Region
payment.card.billing-address-region.placeholderPlaceholder for the city field.
payment.card.billing-address-postcode.labelLabel for the postcode field.Post Code
payment.card.billing-address-postcode.placeholderPlaceholder for the postcode field.
payment.card.billing-address-country.labelLabel for the country fieldCountry
payment.card.billing-address-country.placeholderPlaceholder for the country field.— select a country —
payment.card.valid-from.labelLabel for the valid from fieldValid From (if applicable)
payment.card.valid-from.month.placeholderPlaceholder for the valid from month field.mm
payment.card.valid-from.year.placeholderPlaceholder for the valid from year field.yy
payment.card.expiry.labelLabel for the expiry field.Expires
payment.card.expiry.month.placeholderPlaceholder for the expiry month field.mm
payment.card.expiry.year.placeholderPlaceholder for the expiry year field.yy
payment.amount.freeform.labelLabel for the amount field when it is editable.Amount ({0})Currency symbol
payment.amount.freeform.placeholderPlaceholder for the amount field when it is editable.
payment.amount.fixed.labelLabel for the amount field when it is fixed.Amount
payment.amount.range.labelLabel for the amount field when it is a range.Amount ({0})Currency symbol
payment.amount.range.placeholderPlaceholder for the amount field when it is a range.
payment.amount.choice.labelLabel for the amount field when it is a choice.Amount ({0})Currency symbol
payment.amount.suggested.labelLabel for the amount field when it is range input with a suggested value.Amount ({0})Currency symbol
payment.amount.min-max.labelAmount help text when there is a range.{0} minimum, {1} maximumMinimum amount, Maximum amount
payment.amount.min.labelAmount help text when there is a minimum but no maximum.{0} minimumMinimum amount
payment.amount.max.labelAmount help text when there is a maximum but no minimum.{0} maximumMaximum amount
payment.card.update.labelThe link to update a card.Update
payment.add-card.linkLink to add a new card.Add New Card
payment.card.save.labelLabel for the card save checkbox.Save My Card
payment.card.default.labelLabel for the save card as default checkbox.Set as My Default Card
payment.pay.buttonText for the pay buttonPay Now
payment.cancel.linkLabel for the link to abandone the hosted session and return to the merchant website.Cancel
payment.back.linkLabel to go back from the new card payment page to the card selection page.Back
payment.card.change.labelLink to add a new card replacing the existing one. This occurs in place of the add a card link when the maximum number of cards per customer is one.Change Your Card
payment.method.paypal.labelThe label on the PayPal payment method selector.Pay with PayPal
payment.method.card.labelThe label on the Card payment method selector. Only on the new card payment page when there are non-card payment methods also available.Pay with Card

Payout page

Message KeyDescriptionDefault ValueParameters
payout.card.cardholder-name.labelLabel for the card number field.Cardholder Name
payout.amount.freeform.labelLabel for the amount field when it is editable.Amount ({0})Currency symbol
payment.amount.freeform.placeholderPlaceholder for the amount field when it is editable.
payout.amount.fixed.labelLabel for the amount field when it is fixed.Amount
payout.amount.range.labelLabel for the amount field when it is a range.Amount ({0})Currency symbol
payment.amount.range.placeholderPlaceholder for the amount field when it is a range.
payout.amount.choice.labelLabel for the amount field when it is a choice.Amount ({0})Currency symbol
payout.amount.suggested.labelLabel for the amount field when it is range input with a suggested value.Amount ({0})Currency symbol
payout.amount.min-max.labelAmount help text when there is a range.{0} minimum, {1} maximumMinimum amount, Maximum amount
payout.amount.min.labelAmount help text when there is a minimum but no maximum.{0} minimumMinimum amount
payout.amount.max.labelAmount help text when there is a maximum but no minimum.{0} maximumMaximum amount
payout.pay.buttonText for the pay buttonPay Now
payout.cancel.linkLabel for the link to abandone the hosted session and return to the merchant website.Cancel

Manage cards page

Message KeyDescriptionDefault ValueParameters
manage.card.default.labelLabel for the save card as default checkbox.Set as My Default Card
manage.card.cardholder-name.labelLabel for the card holder name field.Cardholder Name
manage.card.cardholder-name.placeholderPlaceholder for the card holder name field.
manage.card.nickname.labelLabel for the card nickname field.Card Nickname
manage.card.nickname.placeholderPlaceholder for the card nickname field.
manage.card.valid-from.labelLabel for the valid from field.Valid From (if applicable)
manage.card.valid-from.month.placeholderPlaceholder for the valid from month field.mm
manage.card.valid-from.year.placeholderPlaceholder for the valid from year field.yy
manage.card.expiry.labelLabel for the expiry field.Expires
manage.card.expiry.month.placeholderPlaceholder for the expiry month field.mm
manage.card.expiry.year.placeholderPlaceholder for the expiry year field.yy
manage.card.issue-number.labelLabel for the issue number field.Issue Number (if applicable)
manage.card.issue-number.placeholderPlaceholder for the issue number field.
manage.card.billing-address-line1.labelLabel for the address line 1 field.Address Line 1
manage.card.billing-address-line1.placeholderPlaceholder for the address line 1 field.
manage.card.billing-address-line2.labelLabel for the address line 2 field.Address Line 2
manage.card.billing-address-line2.placeholderPlaceholder for the address line 2 field.
manage.card.billing-address-line3.labelLabel for the address line 3 field.Address Line 3
manage.card.billing-address-line3.placeholderPlaceholder for the address line 3 field.
manage.card.billing-address-line4.labelLabel for the address line 4 field.Address Line 4
manage.card.billing-address-line4.placeholderPlaceholder for the address line 4 field.
manage.card.billing-address-city.labelLabel for the city field.City
manage.card.billing-address-city.placeholderPlaceholder for the city field.
manage.card.billing-address-region.labelLabel for the region field.Region
manage.card.billing-address-region.placeholderPlaceholder for the region field.
manage.card.billing-address-postcode.labelLabel for the postcode field.Post Code
manage.card.billing-address-postcode.placeholderPlaceholder for the postcode field.
manage.card.billing-address-country.labelLabel for the country field.Country
manage.back.linkLabel to go back to the card selection page.continue with payment
manage.cancel.linkLabel for the link to abandon the hosted session and return to the merchant website. Only on the page for a card management session.Cancel
manage.delete.buttonButton to delete the selected card.Delete
manage.delete.disabled.tooltipTooltip on the delete button when a card cannot be deleted.Card deletion unavailable
manage.update.buttonButton to save changes to the selected card.Update
manage.card-updated.messageMassage shown at the top of the page after changes have been saved.Card Successfully Updated

Validation messages

These messages are shown after form fields when the content has failed validation.

Message KeyDescriptionDefault ValueParameters
validation.transaction.amountThe amount value is not valid.Please enter a valid amount
validation.transaction.amount.cscThe secuity code is not valid.Please enter the security code
validation.transaction.amount.invalidnumberThe amount contains invalid characters.The amount you entered must be numeric
validation.transaction.amount.optionIf the amount is not one of the required options, when there is a specified list. This shoudl not happen unless the form control is overridden.Value must be one of given options
validation.transaction.amount.otherThe amount given is negativeThe amount you entered must be greater than zero
validation.transaction.amount.rangeThe amount is outside the required range.Value must be in range
validation.transaction.card.selectionA unavailable card has been selected, this should not happen unless the form control is overridden.Invalid card selection
validation.transaction.card.billingAddressA billing address field is too long.Max number of permitted characters is 255
validation.transaction.panThe card number is not valid.Please enter a valid card number
validation.transaction.amount.invalidcscThe security code is not valid.Security code must be 3 or 4 digits long
validation.transaction.issueNumberThe issue number is not valid.Issue number must be between 0 and 99
validation.transaction.validDate.formatThe valid from date is not valid.Please enter a valid start date
validation.transaction.validDate.futureThe valid from date is in the future.Valid From date must be set in the past
validation.transaction.expiryDate.formatThe expiry date is not valid.Please enter a valid expiry date
validation.transaction.cardHolderThe cardholder name is not provided.Please enter the name as shown on the card
validation.transaction.card.nickname.longThe card nickname is too long.Please enter a maximum of 20 characters

Redirect messages

Text shown to the user while awaiting a redirect.

Message KeyDescriptionDefault ValueParameters
redirect.3ds.messageThe only text on the page when redirecting for 3D Secure.Requesting authorisation, please wait...
redirect.messageThe only text on the page when redirecting and escaping the frame.Redirecting... If you are not redirected shortly, please follow this linkDestination URL.

Error messages

Text shown when something has gone wrong.

Message KeyDescriptionDefault ValueParameters
error.cannot-process-transactionAn error occurred processing a transaction. This is shown on the payment form allowing the customer to retry.

An unexpected error occurred. Your payment was not processed. Please try again later.

error.max-cards-limit-reachedThe user has tried to register a card when having reached the configured limit.You've reached the maximum number of cards allowed.
error.cannot-register-cardIf the payment has been rejected due to merchant customer and card restrictions. E.g. Maximum number of registrations in a 24 hour period, no duplicate registrations allowed.

Unfortunately theft and misuse of payment methods is common today. We have implemented various measures to ensure the safety of your money. One of these measures is to return any funds deposited back to the original payment method they came from, wherever possible. This complies with money laundering & fraud prevention regulations. For this reason you may not be able to change your card before having made a withdrawal.

When you have withdrawn funds from your account, please return to the Change Card option, whereupon you will be able to update your card.

If you encounter any problems, please contact customer services for assistance.

error.cannot-register-card.limit.net-deposit-valueIf a card registration is prevented due to the net deposit value restriction.

Unfortunately theft and misuse of payment methods is common today. We have implemented various measures to ensure the safety of your money. One of these measures is to return any funds deposited back to the original payment method they came from, wherever possible. This complies with money laundering & fraud prevention regulations. For this reason you may not be able to change your card before having made a withdrawal.

When you have withdrawn funds from your account, please return to the Change Card option, whereupon you will be able to update your card.

If you encounter any problems, please contact customer services for assistance.

error.cannot-register-card.limit.daily-registrationsIf a card registration is prevented due to the daily registrations restriction.

Unfortunately theft and misuse of payment methods is common today. We have implemented various measures to ensure the safety of your money. One of these measures is to return any funds deposited back to the original payment method they came from, wherever possible. This complies with money laundering & fraud prevention regulations. For this reason you may not be able to change your card before having made a withdrawal.

When you have withdrawn funds from your account, please return to the Change Card option, whereupon you will be able to update your card.

If you encounter any problems, please contact customer services for assistance.

error.cannot-register-card.limit.address-match-onlyIf a card registration is prevented due to the address match only count restriction.

Unfortunately theft and misuse of payment methods is common today. We have implemented various measures to ensure the safety of your money. One of these measures is to return any funds deposited back to the original payment method they came from, wherever possible. This complies with money laundering & fraud prevention regulations. For this reason you may not be able to change your card before having made a withdrawal.

When you have withdrawn funds from your account, please return to the Change Card option, whereupon you will be able to update your card.

If you encounter any problems, please contact customer services for assistance.

error.cannot-register-card.limit.no-data-matchIf a card registration is prevented due to the no data match count restriction.

Unfortunately theft and misuse of payment methods is common today. We have implemented various measures to ensure the safety of your money. One of these measures is to return any funds deposited back to the original payment method they came from, wherever possible. This complies with money laundering & fraud prevention regulations. For this reason you may not be able to change your card before having made a withdrawal.

When you have withdrawn funds from your account, please return to the Change Card option, whereupon you will be able to update your card.

If you encounter any problems, please contact customer services for assistance.

error.cannot-register-card.return.linkLink from the cannot register card page back to the payment page.Go Back
error.generic.headingHeading on the generic error pageError
error.generic.message-requestAn error that could not be handled has occurred. This is shown on its own page.An Error Occurred Processing Your Request

Error page titles

Title for when an error requires its own page, very rare unless the user is bypassing form controls by editing HTML, or there is a major server side malfunction.

Message KeyDescriptionDefault ValueParameters
error.title.cannot-add-new-cardPage telling the user they cannot add the given card.Cannot Register New Card
error.title.cannot-delete-cardPage telling the user they cannot delete the specified card.Cannot Delete Card
error.title.cannot-register-cardPage telling the user they cannot register the given card.Cannot Register Card
error.title.genericTitle for an unrecoverable error page.Generic Error
Message KeyDescriptionDefault ValueParameters
payment.title.resultTitle for the transaction result page.Result
info.email-pay.used.messageText when the link is not longer usable.Unfortunately this link is no longer accessible, as a previous payment has already been successfully authorised. Please contact the merchant should you want to make a new payment.
info.email-pay.expired.messageText when the link has expired.Unfortunately the page you're trying to access cannot be found. This is likely because the link has either expired or has been entered incorrectly.
info.email-pay.cancelled.messageText when the link has been cancelled.This particular link has now been cancelled by the merchant. Please contact the merchant for further details or to request a new payment link.
info.email-pay.pending.messageText when the link being visited is already in use.It would appear that another transaction is currently being processed using this link. To continue, please shut down all open payment links and try again.
info.email-pay.error.messageText for a temporary error when visiting a link and the user should retry.An error occurred while attempting to load this page. Please try again later.
info.email-pay.not-found.messageText when the link id given does not exist.Unfortunately the page you're trying to access cannot be found. This is likely because the link has either expired or has been entered incorrectly.
result.not-submitted.messageText shown when the user tries to pay but the link has been cancelled by the merchant. Therefore it was cancelled while the user was on the payment page.The payment was not submitted for authorisation and has now been cancelled
result.successful.messageText when the transaction was successful.Your payment has been successful
result.not-successful.messageText when the transaction did not succeed.Unfortunately on this occasion your payment was unsuccessful and the transaction did not go through. Please try another card or payment type and contact your card issuer for further details
error.title.email-payTitle for an unrecoverable error page when using a Pay by Link URL.EmailPay Errors