Configuring the Address Validator Service

When the POS application is integrated with the NcrASExternalValidator service, the appsettings.json file should be configured to support the service.

Note

This configuration takes place on the Web server, where the NcrASExternalValidator service is installed.

This task uses the following file.

File nameLocation
appsettings.json%PROGRAMFILES(X86)%\NCR\DSREnterprise\ExternalValidator

To configure the address validator, follow these steps:

  1. Open the appsettings.json file using a text editor, and locate the following attributes.
    • "userID" : "userId"
    • "ValidationEndpoint" : "http://localhost"
  2. Modify the values for userID and ValidationEndpoint.
    AttributeDescription
    userId

    Specifies the unique customer ID information obtained from USPS.

    Example

    511BCA004944

    ValidationEndpoint

    Specifies the URL of the application that sends requests to the POS systems.

    Note

    The ValidationEndpoint attribute is meant to validate the token that is provided in the requests from the specified application. This ensures that only requests from the specified application are validated and authorized.

    Example

    http://salesadvisor. This is a sample IP address of the Sales Advisor application.

  3. Save the changes.
Note

Refresh the NcrASExternalValidator service in the IIS application on the Web server after this configuration.