Skip to main content

Test the Hosted Payment Pages Implementation


Test the Hosted Payment Pages Implementation


After configuring the Hosted Payment Pages settings in, you can test your implementation. 

Testing Your Implementation

To test your Hosted Payment pages implementation:

  1. Log in to 
  2. Navigate to your /apex/HPMSample page. For example:
  3. You should see your Hosted Payment Pages, embedded in your Salesforce page with a Submit button. For example:


  1. If you do not see the page, verify the setting values that you entered in the previous step, Configure the Hosted Payments Page Settings in
  2. Leave the fields empty and click Submit.
  3. Salesforce will generate a list of validation messages. If you do not see validation messages, check the Hosted Domain and Callback Path values that you entered when you created a Hosted Payment Page in Zuora.
  4. On the sample page, enter valid payment values.
  5. Click Submit. Salesforce will return a confirmation message. For example:


  1. Now log in to Zuora. 
  2. Navigate to Payments > Overview
  3. Verify that the Hosted Payment Pages has created a new CreditCard payment method.


What's Next

Next, integrate with Zuora Quotes to complete the implementation process.