I am trying to get SNPD working on our devkit, using the samples in github, looks like I am missing something to get it to connect. Like, do I need some setup in sandbox to get the sample code to connect to it?
I am trying to get SNPD working on our devkit, using the samples in github, looks like I am missing something to get it to connect. Like, do I need some setup in sandbox to get the sample code to connect to it?
@David Marginian. below are my answers:
1) Have you installed, configured, and started SNPD? https://docs.clover.com/clover-platform/docs/configuring-secure-network-pay-display. --> YES, but I guess I forgot to install the development certificates. It should be installed on the server that will host my app or on the computer using the browser? (our app is on a remote server and the users are only accessing the web client).
2) What examples are you using?
a. https://github.com/clover/remote-pay-cloud-examples/tree/master/remote-pay-cloud-pos-react
b. remote-pay-cloud-nodejs-example
3) What SDK are you using? the samples are using the javascript SDK (and same as what I will be needing so I was trying to get the sample to work and use it as basis for what I want to do.
4) Describe the problem you are having?
for a(the react sample), I selected to connect via network and entered the ip address of the device. But when I hit connect nothing happens.
for b. I was getting
Initializing connection to device at wss://172.20.1.145:12345/remote_pay
error An unexpected websocket error has occurred.
Also, I want to make sure I am putting the correct configurations for the sample apps.
The client Id -> APpId, I was only to see one when I create an app thru the dashboard, but that looks to me like for someone creating an app for the device, but can you confirm is it the correct one?
Also, how do I get a Remote Application Id? I was given one but I don't know how to get it or verify that it is the correct one.
clientId: 'HBK8YZG9EQNJG', // Update this to match your "App ID". From the Clover Developer Dashboard find your app, select "settings" and your "App ID" will be displayed. devicesDomain: 'https://apisandbox.dev.clover.com/v3/merchants/', // Update this to match the environment you are hitting, e.g. https://apisandbox.dev.clover.com/v3/merchants/ oAuthDomain: 'https://sandbox.dev.clover.com' // Update this to match the environment you are hitting, e.g. https://sandbox.dev.clover.com
@David Marginian. Yes, our company was in conversations since a few weeks ago with your solutions engineers. We were told that they suggested we use SNPD.
All integrations would need a server to store application data right? and the Web client will interact with our server and with the Clover device (for the payment). Isn't that how the semi-integration is supposed to work?
I'll go thru the steps again later today on the set up. thanks!
1 Person is following this question.