Hi All,
we are facing a strange error while performing the "Pay Card" functionality in MPOS.
the error message is "No merchant properties found"
Event Viewer logs:
Unauthorized response with error: No merchant properties found. ErrorResourceId: Microsoft_Dynamics_Commerce_Runtime_HeadquarterTransactionServiceMethodCallFailure
The Retail Server Request with request id 'e268e186-82dd-5d75-a654-da88bd9ba3d9' and request url 'https://************.sandbox.operations.dynamics.com/Commerce/Carts('000003-000005-9')/GetCardPaymentAcceptPoint?api-version=7.2' failed. Error: No merchant properties found.
The data file 'C:\ProgramData\Microsoft Dynamics AX\Retail Hardware Station\MerchantInformation.xml' trying to be loaded was not found. Exception: System.IO.FileNotFoundException: Could not find file 'C:\ProgramData\Microsoft Dynamics AX\Retail Hardware Station\MerchantInformation.xml'.
File name: 'C:\ProgramData\Microsoft Dynamics AX\Retail Hardware Station\MerchantInformation.xml'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlTextReaderImpl.FinishInitUriString()
at System.Xml.XmlTextReaderImpl..ctor(String uriStr, XmlReaderSettings settings, XmlParserContext context, XmlResolver uriResolver)
at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)
at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings, XmlParserContext inputContext)
at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
at Microsoft.Dynamics.Commerce.HardwareStation.SecureStorage.LoadFromDisk().