Happy Business Starts Here

Zuora Alumni

How to use a local development machine's URL to test HPM2.0

Question:

 

We are working to integrate a Hosted Payment page into our web application and need to use a local development machine's url to test. i.e. an entry in our Hosts file for onboarding.myDomain.test for instance.

 

 



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

4 REPLIES 4
Highlighted
Zuora Alumni

Re: How to use a local development machine's URL to test HPM2.0

Solution:

 

Enter your local development machine's url in HPM Setting, "Hosted Domain" field.

 

Screen Shot 2017-03-13 at 2.04.54 PM.png

 



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Valued Scholar

Re: How to use a local development machine's URL to test HPM2.0

I am currently doing some testing with payment pages, the page loads locally on my machine however the pre-populated fields are not rendering.

Did you run into this problem, and were you able to solve this issue? 

 

It renders correclty on a public URL, so something tells me that there is some sort of call-back thats setting these and it cant reach "localhost".

Zuora Alumni

Re: How to use a local development machine's URL to test HPM2.0

Hi @ayonge, you're correct that Zuora cannot push the data to localhost URL for callbacks, glad to hear it works in public URL.

 

 

Thanks!!



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Valued Scholar

Re: How to use a local development machine's URL to test HPM2.0

Thanks Patrick!