HitPay.API.sandbox
You're seeing just the function
sandbox
, go back to HitPay.API module for more information.
Link to this function
sandbox()
If there's no sandbox config, detect based on environment. Sandbox is used for non-production environment. In config.exs, use a string, a function or a tuple, default is false
config :hit_pay, sandbox: System.get_env("HIT_PAY_SANDBOX")
or:
config :hit_pay, sandbox: {:system, "HIT_PAY_SANDBOX"}
or:
config :hit_pay, sandbox: {MyApp.Config, :HIT_PAY_SANDBOX, []}