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.
This configuration takes place on the Web server, where the NcrASExternalValidator service is installed.
This task uses the following file.
File name | Location |
---|---|
appsettings.json | %PROGRAMFILES(X86)%\NCR\DSREnterprise\ExternalValidator |
To configure the address validator, follow these steps:
- Open the appsettings.json file using a text editor, and locate the following attributes.
- "userID" : "userId"
- "ValidationEndpoint" : "http://localhost"
- Modify the values for userID and ValidationEndpoint.
Attribute Description userId Specifies the unique customer ID information obtained from USPS.
Example511BCA004944
ValidationEndpoint Specifies the URL of the application that sends requests to the POS systems.
NoteThe 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.
Examplehttp://salesadvisor. This is a sample IP address of the Sales Advisor application.
- Save the changes.
Refresh the NcrASExternalValidator service in the IIS application on the Web server after this configuration.