Welcome to Zuora Product Documentation

Explore our rich library of product information

Retrieve Required Values for Payment Page JavaScript Client

Retrieve essential implementation details to integrate the Payment Page into your client code effectively.

On the preview page, retrieve the information you need to integrate this Payment Page in your client.

To retrieve the implementation information required for your client code :

  1. After creating or editing a Payment Page, click generate and save page .
  2. Alternatively, in the Hosted Pages List, click Page Name or Preview for the Payment Page.
  3. In the Implementation Details section on the Preview Hosted Payment Method Page, retrieve the following information that you need to provide in your client code:
    • Hosted Domain : The domain address you typed in the Hosted Domain field when you created or edited the Payment Page. Zuora validates this field for you. You will see an error message displayed on HPM iframe if the validation fails. Note that the Overlay Hosted Page mode does not support the Hosted Domain validation.

    • Callback Path : The callback path you typed in the Callback Path field when you created or edited the Payment Page.

    • Hosted Page URL : The URL from which your Payment Page will be served. This is a read-only value that Zuora generates. You need to pass this value to your client code as a JavaScript parameter, url , when you load the Payment Page. See Provide Parameter Values for the Payment Pages 2.0 Form about passing this parameter and others to the client Javascript.