question

mendozamt avatar image
mendozamt asked justina Deactivated edited

What is the Offline Challenge text message?

I'm new to Clover development and I'm working on a semi-integration with our POS. I'm working with the Node.js remote-pay-cloud library and I need to know the text for the Offline Challenge message. Help with this is will be greatly appreciated.
Clover Mini
10 |2000

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

1 Answer

justina avatar image
justina Deactivated answered justina Deactivated edited
Hi @mendozamt,
If you are looking how to identify whether a challenge is an offline challenge, the Challenge#getType method exposes the ChallengeType of the object:
https://clover.github.io/remote-pay-cloud-api/1.4....

and the string returned would be "OFFLINE_CHALLENGE":
https://clover.github.io/remote-pay-cloud-api/1.4....
-- Justin
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.

mendozamt avatar image mendozamt commented ·
Hi Justin,

Thank you, your answer and the links to the documentation helped to get what I needed.

--Maria
0 Likes 0 ·

Welcome to the
Clover Developer Community