Happy Business Starts Here

Why HostedPageFieldValidationError occurs when clicking submit button?

Highlighted
Zuora Support

Why HostedPageFieldValidationError occurs when clicking submit button?

In a specific use case use was having issues submitting the form with test details as it doesn’t recognise the input as per the attached screenshot, even though detail is entered in the form.Screen Shot 2019-01-26 at 9.55.51 PM.png

Please check below for solution.



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

1 REPLY 1
Zuora Support

Re: Why HostedPageFieldValidationError occurs when clicking submit button?

The HostedPageFieldValidationError is usually caused by incorrect public key used for encryption. I could see in the Developer Tools of the broswer that following public key (I got from your HPM request) is not same as the one in tenant.

You can get the public key of your tenant in administration settings > Security Policies > Security Keys. -> Get Key, same defined in this article : https://knowledgecenter.zuora.com/CB_Billing/LA_Hosted_Payment_Pages/B_Payment_Pages_2.0/F_Generate_...

Once the value for public key was corrected the submit button was working fine.



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