question

david09n avatar image
david09n asked David Marginian Deactivated answered

Hosted Checkout responds with "Unauthorized"

I'm trying to test out hosted checkout with a sandbox account, following the instructions here:

https://docs.clover.com/docs/testing-your-hosted-checkout-integration-macoslinux

But keep getting this response

{"status":{"reason":"Unauthorized","code":401},"message":"COS calculate order failed with exception: 401 Unauthorized: [{\"message\":\"401 Unauthorized\"}]"}

I checked to be sure all info (merchantId , privateKey, emailAddress ) are correct.

Same error if using powershell.

What could be the reasons and how to fix them?

Thanks!

David.



e-commerce api
10 |2000

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

David Marginian avatar image
David Marginian Deactivated answered

This is a known issue in the sandbox environment that we are currently working on. I will post back here when it has been resolved.

10 |2000

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

David Marginian avatar image
David Marginian Deactivated answered

This should be resolved, please try it out and let me know.

10 |2000

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