question

sanjay avatar image
sanjay asked ·

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.

SandboxClover Android SDKclover developer communityProduction
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.

1 Answer

Dan avatar image
Dan answered ·

You could use the CloverAccount `baseUrl` property

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.

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