> For the complete documentation index, see [llms.txt](https://docs.limio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.limio.com/integrations/zuora-integration/configuring-payment-gateways/how-to-set-up-zuora-hosted-payment-methods-for-limio/how-to-update-zuora-hpm-error-messages.md).

# Update Zuora HPM Error Messages

Customising error messages for fields such as “Card Number” in Zuora Hosted Payment Pages (HPM) allows you to provide clearer feedback to users during the checkout process. This guide explains how to update these messages step-by-step.

## **Steps to Update Error Messages**

1. **Access Your Zuora Sandbox**
   * Log in to your Zuora environment.
   * Always use your **sandbox environment** to test changes before deploying them to production.
2. **Navigate to Hosted Pages**
   * From the top-right menu, go to **Settings > Payments > Setup Payment Page and Payment Link**.
3. **Edit the Target Hosted Page**
   * Identify the Hosted Page where you want to update error messages.
   * Click on the **Edit** button next to the relevant Hosted Page.
4. **Locate the Client-Side Validation Section**
   * Scroll down within the Hosted Page editor until you find the "Client-Side Validation" section.
   * This section contains the error messages that can be customised.<br>

     <figure><img src="https://2752106240-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9HZ6Oedes41PXFKYGwjI%2Fuploads%2Fgit-blob-305ba0e8b0317cee1ab5c4a4a6a584816edea5ae%2Fimage%20(459).png?alt=media" alt=""><figcaption></figcaption></figure>
5. **Update Error Messages**
   * Modify the error messages for the validated fields as needed.
   * Ensure the messages are clear and consistent
6. **Save Your Changes**
   * After updating the error messages, click **Save** to apply the changes.

***

### Additional Notes

* **Test Thoroughly**: Perform thorough testing in the sandbox environment to verify the changes.
* **Resources**: Refer to [Zuora's official documentation](https://knowledgecenter.zuora.com/) for further guidance


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.limio.com/integrations/zuora-integration/configuring-payment-gateways/how-to-set-up-zuora-hosted-payment-methods-for-limio/how-to-update-zuora-hpm-error-messages.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
