question

Dhanaraj avatar image
Dhanaraj asked ·

Creating android and ios app and uploading in play store

I want to create a online mobile app for retriving inventory from clover pos and placing orders in Mobile. Once they place the order, order needs to be send to clover POS system. Is it possible whether can we place the orders in mobile app with Clover Rest API in both customer own mobile devices(both ios and Android)
OrdersInventoryProduction
1 comment
10 |2000 characters needed characters left characters exceeded

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

Note: app is public facing consumer applications in Play store or Appstore.

0 Likes 0 · ·
Dhanaraj avatar image
Dhanaraj answered ·
How to get authorization code for Web api. https://sandbox.dev.clover.com/oauth/authorize?client_id={}just navigate to clover app. It doesn't return authorization coe. It returns html page as response.
1 comment Share
10 |2000 characters needed characters left characters exceeded

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

Dhanaraj avatar image
Dhanaraj answered ·
If we are going to use API tokens. How can I get the api Tokens in PROD? If we are going to use Oauth it requires app ID. But we are not creating any apps in clover.
3 comments Share
10 |2000 characters needed characters left characters exceeded

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

No real way around this, you will need to create a (web) app and follow the Clover approval process to be able to generate tokens via the oauth flow.

0 Likes 0 · ·

Thanks for the response.

0 Likes 0 · ·

For the development purpose we are going to use test tokens. Once everything ready we need to submit site URL. Is it okay?

0 Likes 0 · ·
Lee Tickett avatar image
Lee Tickett answered ·
This is doable but you'll probably need to something server side.
You need an api token to communicate with the Clover API (get inventory and create orders). This token wont be available on your customer facing devices.
You will need to store an api token server-side then your requests can proxy via your server.
Hope that helps.
L
Share
10 |2000 characters needed characters left characters exceeded

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

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