Refer to the commercetools Frontend Studio documentation for instructions on how to access the studio. StudioSettings

Settings

The following settings are configurable in the Project settings, found in the projectConfiguration.json file:
NameEnv VariableDescription
Project KeyLOQATE_API_KEYThe API key used to authorize requests against Loqate
IP to CountryLOQATE_IP_TO_COUNTRY_ENABLEDToggles IP to country functionality on or off
Restricted CountriesRESTRICTED_COUNTRIESA list of restricted country ISO2 codes
Checkout Address Request LimitCHECKOUT_ADDRESS_REQUEST_LIMITDebounce time for address capture requests
Checkout Address LookupLOQATE_ADDRESS_LOOKUP_CHECKOUTToggle for address lookup during checkout
My Account Address LookupLOQATE_ADDRESS_LOOKUP_MY_ACCOUNTToggle for address lookup on the My Account page
Checkout - Address VerifyLOQATE_ADDRESS_VERIFICATION_CHECKOUTToggle for address verification during checkout
My Account - Address VerifyLOQATE_ADDRESS_VERIFICATION_MY_ACCOUNTToggle for address verification on the My Account page
Checkout Email ValidationLOQATE_EMAIL_VALIDATION_CHECKOUTToggle for email validation during checkout
My Account Email ValidationLOQATE_EMAIL_VALIDATION_MY_ACCOUNTToggle for email validation on the My Account page
Checkout Phone ValidationLOQATE_PHONE_VALIDATION_CHECKOUTToggle for phone validation during checkout
My Account Phone ValidationLOQATE_PHONE_VALIDATION_MY_ACCOUNTToggle for phone validation on the My Account page
Registration Phone ValidationLOQATE_PHONE_VALIDATION_REGISTRATIONToggle for phone validation during registration
Maybe' Phone Number Validation State is ValidLOQATE_INCLUDE_MAYBE_PHONE_NUMBERSDetermines whether the Maybe phone number validation state is treated as valid
Valid_CatchAll' Email Validation State is ValidLOQATE_INCLUDE_VALID_CATCHALL_EMAILSDetermines whether Valid_CatchAll email validation responses are considered valid
Email Validation Timeout (milliseconds)LOQATE_EMAIL_VALIDATION_TIMEOUT_MILLISECONDSTimeout duration for email validation requests
AVC - Good Address MatchscoreLOQATE_AVCThe minimum matchscore threshold for an address to be considered Good