I can able to create order by using


But when i try to pay for particular order using


the response is showing as 401 Unauthorized.

And also I can't see these order in my list.


asked 2016-05-11 06:22:31 -0500

Kesari gravatar image

updated 2016-05-11 06:50:51 -0500

1 answer

Sort by  

Please refer to: https://docs.clover.com/build/web-app...


Once the Order’s “state” is set to “open”, the Order will be returned in the merchant’s order list, and will appear in the Orders app.

In order to pay for an order, you cannot use an API Token generated via the merchant's Setup app (merchant-scoped). You need a developer-scoped token, which you can create via either OAuth flow for your web app or via the Clover SDK for an android app.

Also, for payments, please refer to: https://docs.clover.com/faq/#how-do-i...

answered 2016-05-11 12:59:05 -0500

mike gravatar image

updated 2016-05-11 12:59:36 -0500


How can i make order state as open?

And can you provide me any example code in c# to encrypt card information


And where can i get my developer-scoped token?

Kesari gravatar image
Kesari 2016-05-11 23:48:49 -0500

stateis field on the Order object: http://devask.clover.com/question/137...

No, but the FAQ question does a java example that you can use to compare your own c# development: https://docs.clover.com/v2webpaytest/ This is also so you can validate your card info encryption (you'd be surprised how often people try to use the wrong encryption).

As I said before, you can create a developer-scoped token via either OAuth flow for your web app or via the Clover SDK for an android app. Please check out our documentation: https://docs.clover.com/build/

mike gravatar image
mike 2016-05-12 12:03:37 -0500

Created app in sandbox account as per this. Do i need to submit app to get access token? Or App secret is access token?

Kesari gravatar image
Kesari 2016-05-13 06:29:54 -0500