question

vishal388 avatar image
vishal388 asked vishal388 commented

Error in verify signature after one transaction

I am running into this issue constantly these days. Once I have successful sale transaction with signature verified, any subsequent transaction I attempt fails after signature verify state.


This is what I see in console for the error message:


Message: {"attachment":null,"attachmentEncoding":null,"attachmentUri":null,"authentication":null,"directed":false,"fragmentIndex":null,"id":"1724","lastFragment":null,"method":"REMOTE_ERROR","packageName":"com.clover.remote.protocol.websocket","payload":"{\"errorMessage\":\"Payment not found in current order, cannot process signature verification\",\"method\":\"REMOTE_ERROR\",\"version\":1}","remoteApplicationID":"com.clover.remote.protocol.websocket:1.0-356","remotePayCompatibilityVersion":1,"remoteSourceSDK":"com.clover.internal.apps","type":"COMMAND","version":2}.


How do I recover the device from this error. Once I close my browser window and redo, it will work first time and again same loop of error.

semi-integrationsClover Flex
10 |2000

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

David Marginian avatar image
David Marginian Deactivated answered vishal388 commented

I assume you are using Remote Pay Cloud? What environment are you seeing this in? Can you provide a device serial number and payment id (clover or external)?

7 comments
10 |2000

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

David Marginian avatar image
David Marginian Deactivated answered vishal388 commented

"I am building new listener every request as each request may different processing on sale response."

Why you need to do this isn't clear to me. The safest thing to do would be to create a single listener when you initialize the connection. Regardless, there are remove listener functions on the CloverConnector.

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.

Write an Answer

HTML Editor


Add some details...
Characters : 0
Tab to the formatting toolbar with Alt/Option + F10. If inside toolbar, press ESC to return to editor. 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