Skip to main content

Test the Hosted Payment Pages Implementation

Zuora

Test the Hosted Payment Pages Implementation

Overview 

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

Testing Your Implementation

To test your Hosted Payment pages implementation:

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

sample_page.png

  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 Salesforce.com.
  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:

Salesforce_confirmation_message.png

  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.

new_creditcard_payment_method.png

What's Next

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