Welcome to Zuora Product Documentation

Explore our rich library of product information

Troubleshoot product selector JavaScript plugin implementation

Learn how to troubleshoot issues with the Product Selector JavaScript plugin by following these steps.

If you encounter issues when using the Product Selector JavaScript plugin, try the following steps to facilitate troubleshooting:

  1. Check and ensure that you upload files in the .JS format. If you upload a file in the .JS format, the MIME type is text/javascript . If you upload a text file, the MIME type is text/plain , which can result in plugin errors.
  2. If you find that the plugin is not working, copy one of the preceding sample codes to a file, then upload the file and test if it is working.
  3. To see all possible errors, enter the console of your browser and add logs to verify whether the passed-in values are correct. For example, enter console.log(currentZCharge.DISCOUNT + " charge discount") .