Debugging the widget

Debugging the widget

This article explains how to use the Checkout widget's debugging log.

Paazl supplies a log that you can use to verify that the Checkout widget has loaded with the settings you want, or to pass on to Paazl Customer Support when reporting a bug.

The log appears in your browser console window under Dev Tools, and contains the following fields (values shown are examples):

  • googleApiKey: "AIzaSyCVWGcx8iXWEgjyV_nDMuIKYVsq11ZPXIA"
  • pageUrl: "https://staging.paazl.com/mypaazl/instellingen/widget-sandbox.html"
  • platform: "Chrome 76.0.3809.100 on Windows 10 64-bit"
  • resourceUrl: "https://widget-acc.paazl.com/v1/"
  • availableTabs:["DELIVERY", "PICKUP"]
  • consigneeCountryCode: "NL"
  • consigneePostalCode: "1019HD"
  • consignorCountryCode: "NL"
  • consignorPostalCode: "1020HD"
  • currency: "EUR"
  • defaultTab: "DELIVERY"
  • startDate: "2019-08-22"
  • numberOfDays: 5
  • startDate:"2019-08-22"
  • deliveryEstimateDateFormat: "dddd DD MMMM"
  • deliveryOptionDateFormat: "ddd DD MMM"
  • deliveryRangeFormat: "DATE"
  • initialPickupLocations: 3
  • isPricingEnabled: true
  • isShowAsExtraCost: false
  • language: "eng"
  • loadCarrierBasedData: false
  • loadPaazlBasedData: true
  • mountElementId: "paazl-checkout"
  • nominatedDateEnabled: false
  • pickupEstimateDateFormat: "dddd DD MMMM"
  • pickupLocationsLimit: 20
  • pickupLocationsPageLimit: 10
  • pickupOptionDateFormat: "ddd DD MMM"
  • shippingOptionsLimit: 3
  • orderBy: "PRICE"
  • sortOrder: "ASC"
  • style: "DEFAULT"
  • tags: []

Was this article helpful?