question

harmony63 avatar image
harmony63 asked harmony63 commented

Clover Mini process credit cards using Java api, handshake configuration errors out

Creating CC processing on the Clover Mini using java sdk tools, we are facing issue to create handshake with the Clover Mini, the documentation is not clear enough as how to create the handshake using CloverConfig We have the deviceURL (assuming its the IP:8443), oauthToken(YES), domain (??), merchantID( YES), device SerialId(YES), clientID(Optional and not required since no app is required) What parameter is the domain it is referring to is not known. POST to the IP:8443 does not works and nmap shows all 1000 ports are closed. CloudPayDisplay app is installed, what is missing?? Thanks

12 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.

Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ commented ·

Can you please explain what you are attempting to do in simpler terms? We do not provide a programmatic interface for accepting / processing credit cards. You must start the Secure Payment App to accept a credit card payment.

0 Likes 0 ·
harmony63 avatar image harmony63 commented ·

PART 1:

Hi Jeff, We basically are trying to figure out how to initiate the connection with the Clover mini using Java SDK. We have the following java files: AccessTokenService, DetailedWebHookMessageHandler, FileAccessTokenService, FileStore, SaveAuth, WebHook, WebHookMessage, WebHookMessageHandler which one we should use to connect/ do handshake/ with Clover mini, or do we need to create one? So far we are using testConfigBase.js file with default values to authenticate:

0 Likes 0 ·
harmony63 avatar image harmony63 commented ·

PART 2:

Here are the values:

"sandbox_C030UQ53460719": { "clientId" : "3BZPZ6A6FQ8ZM", // What is the Client ID for Cloud Pay Display App "oauthToken" : "94441431-daaa-bf70-4755-634b9da6fc54", "domain" : "https://sandbox.dev.clover.com/", "merchantId" : "RCTST0000008099", "deviceSerialId" : "C030UQ53460719" },

we have tried using our device ID as well, and we have tried to connect to LocalHost but port 9001 used as default is not open. Please advise how to approach this API.

0 Likes 0 ·
Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ commented ·

Which Java SDK, and a connection for what purpose? Sorry, we have many ways of connecting to perform different tasks tasks. Are you attempting to use the Cloud Pay Display SDK?

0 Likes 0 ·
harmony63 avatar image harmony63 commented ·

Hi Hammer, Thanks for your response since we have been struggling since last week to get this going for our mutual merchants.

Client ID is the AppId and in this case it will be the AppId of " Cloud Pay Display" now the question is how do we see it. On the Clover Mini Installed Apps (DEV) it has the app installed version 1.0-59, please help us find the ClientID / AppID

Thanks again.

0 Likes 0 ·
Show more comments

1 Answer

hammer avatar image
hammer answered

Hi Harmony,

It sounds like you are using the Remote Pay Cloud library (https://github.com/clover/remote-pay-...). This is a javascript library for communication to the mini, not a java library. It contains examples of how to use the library.

I would suggest you review the readme for this repository - https://github.com/clover/remote-pay-.... It explains how to set up a server to run the examples locally.

"clientId"

This is the "App ID" see https://github.com/clover/remote-pay-...

10 |2000

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