question

shawjames avatar image
shawjames asked bryanvargas commented

REST Pay Display API - Verify connectivity

I'm testing this connection:

https://docs.clover.com/reference/ping_device

I've correct set X-Clover-Device-Idand X-POS-Id

and Bearer Token.

I've installed REST Pay Display on the device.

I entered in the correct local IP, however my test results are:

cURL Error #:Failed to connect to 192.168.1.113 port 12346 after 1041 ms: Connection refused


Does this function require a production developer App?

REST APIsemi-integrationsClover Flex
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

bryanvargas avatar image bryanvargas ♦♦ commented ·

Have you tried this with the Cloud Display App or Secure Network Display App?


More information on a step by step guide can be found here: https://docs.clover.com/docs/configuring-secure-network-pay-display

0 Likes 0 ·

1 Answer

·
geraine avatar image
geraine answered bryanvargas edited

If the API returns a successful response, you should see a JSON object or XML document containing the expected data. If the API returns an error, you should see an error message or status code indicating the problem.

1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

shawjames avatar image shawjames commented ·

The API returns:

cURL Error #:Failed to connect to 192.168.1.113 port 12346 after 1041 ms: Connection refused

If I change the IP address to a known invalid IP, the response shows:

cURL Error #:Could not resolve host: 192.168.1.832


I believe this shows the request is making it to the device, but not being accepted by the device.

I've correctly set the required parameters in the post.
X-Clover-Device-Id, X-POS-Id and Bearer Token

What else could cause this error?



0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community