Welcome to Zuora Product Documentation

Explore our rich library of product information

Payment Pages 2.0 Library Versions

The Payment Pages 2.0 JavaScript library offers various versions with features such as expanded PCI compliance, improved event handling, enhanced security, and smoother rendering.

The following versions of the Payment Pages 2.0 JavaScript library are available.

Version

Description

1.3.1

  • Expanded PCI Compliance for ACH
    • The achBankAccountNumber and achBankABACode fields are now treated as sensitive PCI data.
    • The validatePCIParams function has been updated to bypass validation for these ACH fields to maintain backward compatibility.
  • Improved Event Handling
    • A new cardBinInfo event handler has been added to support credit card BIN (Bank Identification Number) lookups.

      The customizeErrorHandler callback now includes an additional rawGatewayInfo parameter to provide more detailed gateway responses.

  • Enhanced Cross-Origin Security
    • Domain validation in ZXD.receiveMessage has been improved by using case-insensitive comparisons, strengthening cross-domain communication security.

  • Smoother Rendering and Animations
    • A polyfill for window.requestAnimationFrame has been added to ensure smoother rendering and animations in older browsers..

  • Improved Iframe Focus Management
    • When rendered in overlay style, the HPM iframe now automatically receives focus (iframe.focus()), improving accessibility and keyboard navigation.

  • Refined Iframe Loading Logic

    • The createIframe load event listener has been updated to ensure reliable execution of prepopulation and resizing after the iframe has fully loaded.

1.3.0

Includes the support for:

  • Additional form fields

  • The Agreement Check box for UK Direct Debit payment method

  • Event handler for the Agreement Checkbox in the UK Direct Debit type Payment Pages

1.2.0

Includes the following new features:

  • New functions for custom error handling

  • Handles PCI fields as pre-populated parameters

1.1.0

This version was deprecated as of the 191 release (August 2015) of Zuora. Upgrade to the latest version of the library.

When you use this version of the library, the parameter values to Z.render function are automatically encoded in Payment Pages 2.0. You should not URL encode the parameter values when passing them to Z.render .

1.0.0

This version was deprecated as of the 191 release (August 2015) of Zuora. Upgrade to the latest version of the library.

This version of the library requires you to URL encode the parameter values when passing them to Z.render .