Customize Error Handling
Learn how to customize error message handling in Payment Pages 2.0 using specific functions and steps.
You can customize error message handling in Payment Pages 2.0 in the following steps:
-
Use the 1.3.1 or later version of
zuora.jsorzuora-min.js. For more detailed information, see Integrate Payment Pages 2.0 . -
Define a function to customize error handling using the
Z.sendErrorMessageToHpmfunction . For more detailed information, see Customize Error Messages for Payment Pages 2.0 . -
Render your Payment Page using the
Z.renderWithErrorHandlerfunction . - If implementing an inline Payment Page with an external submit button, see Customize Error Messages in Advanced Integration for one additional step.