I've upgraded the remote-pay-cloud SDK to 4.1.2 and updated the webSocketFactoryFunction, initially I can pair with the Clover Mini, process charges, refunds and voids successfully.
When I want to pair again though and I provide the authentication token from the first pairing I'm getting errors and cannot connect. Error:
error A websocket connection error has occurred. Details: unexpected server response (404)
I've checked and the correct token is received in the protocols parameter of websocket.js.
We are using connectorType of network, NOT cloud.
We are working on the changes requested in you e-mail of Nov 03 2021, so that URL query parameters for authentication are no longer used. With these changes, will it still be possible to avoid pairing a second time?