Welcome to Zuora Product Documentation

Explore our rich library of product information

Subscription custom fields

Learn how to include and manage custom fields in Zuora Billing for subscription forms.

This section will be displayed only if Zuora Billing is selected as your payment provider.

clipboard_ec5de02906ecc37698012b3b3040ed99f.png

To include a custom field from Zuora Billing:

  1. Ensure that the custom fields have been created in Zuora Billing by navigating to Platform > Objects > Subscription > Definition .
  2. Click +Custom Fields .
  3. Select the desired custom fields to display on the payment form.
  4. Optionally, add mustache variables to the form, enabling you to dynamically populate or customize field values based on specific conditions. The variables that are currently available are:
    {{ page.url }}
    {{ page.path }}
    {{ page.searchParameters.key }} // Replace 'key' with actual keys
    {{ page.utmParameters.source }}
    {{ page.utmParameters.medium }}
    {{ page.utmParameters.campaign }}
    {{ page.utmParameters.term }}
    {{ page.utmParameters.content }}
    {{ page.referrer }}
    {{ user.attributes.key }} // Replace 'key' with actual keys
    {{ user.session.id }}
    {{ user.session.tenantId }}
    {{ user.session.deviceName }}
    {{ user.session.browser }}
    {{ user.session.startDate }}
    {{ user.session.ipAddress }}
    {{ user.session.requestingSession }}
    {{ user.geoLocation.city }}
    {{ user.geoLocation.country }}
    {{ user.geoLocation.state }}
    {{ user.geoLocation.ipAddress }}
    {{ form.id }}
    {{ form.outcomeId }}{{ form.ruleId }}
  5. Click Save .