Skip to main content

Notifications

Announcements

Dynamics 365 Community / Forums / Commerce forum / CPOS hardware station ...
Commerce forum
Unanswered

CPOS hardware station gives error 'Error communicating with payment device'

editSubscribe (0) ShareShare
ReportReport
Posted on by 1,405

There is really not a lot of information regarding hardware station errors and Cloud POS.

I finally found 2 links that helped us today to get the steps correct when installing/upgrading the hardware station.

We would get the error Error communicating with payment device and looking in the event log it will say :

Hardware Station operation failed for request uri: ':/HardwareStation/PaymentTerminal/ExecuteTask' with controller 'PaymentTerminal' and method 'ExecuteTask'.
 isExternalPeripheralFailure: 'True'.
 ExceptionMessage: 'Microsoft.Dynamics.Commerce.HardwareStation.CardPaymentException : The merchant payment properties are empty.. ErrorResourceId='Microsoft_Dynamics_Commerce_HardwareStation_EmptyPaymentProperties''.

Hardware Station operation failed for request uri: ':/HardwareStation/PaymentTerminal/AuthorizePayment' with controller 'PaymentTerminal' and method 'AuthorizePayment'.
 isExternalPeripheralFailure: 'True'.
 ExceptionMessage: 'System.ArgumentNullException: Value cannot be null.
Parameter name: merchantPaymentProperties

So we knew the problem is that it cannot read the merchant information XML file.

We also couldn't get it to re-generate the above mentioned XML file. So most of the time we would after an upgrade of the hardware station, put the existing merchant information file back in and then after hours of going back and forth with changing something on the hardware profile, push it to the channel DB with jobs 1070 and 1090, it will finally generates and the user can process credit cards in CPOS.

 Today I found the below links:

https://learn.microsoft.com/en-us/dynamics365/commerce/retail-hardware-station-configuration-installation

https://posdynamics365.wordpress.com/tag/cloud-pos/

The first link explains at what point it will generate the  merchant information file and we knew that part but how to get CPOS to actually perform the required steps, was the problem for us and it is nowhere documented in the Microsoft documents. For example even though the first link stated it was updated in 2023, which is recent for Microsoft, but in the Troubleshooting section it still mentions the 'Install merchant information tool ' which isn't available anymore since version 10.0.6. We are on v10.0.33.

This is where the 2nd link came in and it stated clearly one has to click on the "Perform non-drawer operation". That was the key for us.

So here is the steps we followed and finally we are able to install the hardware station and have it worked immediately without hours of struggle trying this and that to get CPOS to re-generate the merchant information file.

1) Log into CPOS, but do not pair to the hardware station

2) Close the current shift, if there is an open one  --> Very important that the shift is closed to get the prompt for (4)

3) Log out

4) Log back in and choose "Preform Non-Drawer Operation"

5) pair to the hardware station

6) Open a new shift

7) Preform a test transaction.

So it is very important to close the shift. This should not be an issue because one upgrades after hours and not during the time the business is open. the users just have to make sure they close the shift for the day before the upgrade / installation of the hardware station starts.

If you start off with a closed shift, then you can jump to step 4 and choose "Perform non-drawer operation".

Hopefully this will help somebody in the future.

 

  • CPOS hardware station gives error 'Error communicating with payment device'
    The topic of upgrading graphic cards for enhanced performance always gets me excited! Personally, I believe investing in a quality graphic card is akin to adding turbo boost to your PC. It's like giving your system wings!  Whether you're into gaming, design, or just want smoother visuals, a good GPU can work wonders.
    But hey, let's not stop here. I'd love to hear your thoughts!

Helpful resources

Quick Links

Take the Community feedback survey!

Answer this brief 15-question survey about your Community experience…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,318 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,037 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans