Hi @alexm,
The only application you need is the CodeLab, and you should not be launching it through an example OAuth Request from your developer dashboard. If you go to your sandbox test merchant dashboard, you will find the CodeLab application. If you click on that application it will take you to localhost:8080 and you should see the UI of the application (if your server is running through npm run build). At this point you can follow along on the tutorial (setting the configuration fields like merchant id, token, etc from the url).
To reiterate, you do NOT need to create an application on the dashboard yourself. The CodeLab application provides the structure for web app that will connect to your local server. Please launch the CodeLab, and not your Web App (you should uninstall it from all the test merchants and remove it). The local source code you are running is set to point the Remote Application ID of the CodeLab to establish a connection, and not a new application you create.
Hi @Greg,
I followed your instructions and uninstalled my application from the device. Now when I run the CodeLab application from the dashboard, it opens up my localhost and loads the page without errors. I can see the serial number of my device in the select list.
Unfortunately, on hitting Connect, it doesn't connect to the device. The errors from the console are 401 (Unauthorized) and Response for preflight has invalid HTTP status code 401.
Hi @alexm,
Please make sure you have updated the configuration correctly in your local source code in the Device Pairing section, and have followed the steps to the end. You may need to backtrack if you have been editing the source code before you properly launched the CodeLab application.
Specifically, make sure merchant id, access token, and remote application id (which shouldn't change from "CLOVERDEV.655VQ41Z9CVF8", correspond to the ones from your CodeLab application url after logging in.
2 People are following this question.