question

Sukhbir Singh avatar image
Sukhbir Singh asked Sukhbir Singh edited

Validate merchant environments(sandbox/production) via Clover Android SDK

Hi @Greg @Jeffrey Blattman @David Marginian @Emily L,

Is it possible to validate or retrieve the configured Merchant environment (sandbox or production) via Clover Android SDK? (If yes please suggest the sample code link)

Thanks.

Clover Android SDKclover developer communitySandboxProduction
10 |2000

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

1 Answer

Dan avatar image
Dan answered Sukhbir Singh edited

You could use the CloverAccount `baseUrl` property

1 comment
10 |2000

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

Sukhbir Singh avatar image Sukhbir Singh commented ·

Hi @Dan,

Thanks for your quick response.

We were aware of that. Clover account does not return base URL but we can get the base URL via CloverAuth, If we will validate the environment from it then condition will be hardcoded so if clover will update the base URL in the future then it will affect to the application, so we can not validate with it. Please suggest any other way this will be very appreciated.

Thanks.

0 Likes 0 ·

Welcome to the
Clover Developer Community