Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment to choose while making request to Gateway. #31

Closed
arjun289 opened this issue Dec 21, 2017 · 1 comment
Closed

Environment to choose while making request to Gateway. #31

arjun289 opened this issue Dec 21, 2017 · 1 comment

Comments

@arjun289
Copy link
Member

arjun289 commented Dec 21, 2017

Currently, the support is to set the mode as "test" or "prod" for 'sandbox' or 'live' account in the global config of application with respect to a gateway. By default if no mode is set then the "test" mode is used.

config :gringotts, :global_config,
  mode: :test 

But, this configuration should be made mandatory and a compile time exception should be raised if the field is not set.

@arjun289 arjun289 self-assigned this Dec 21, 2017
@pkrawat1 pkrawat1 added this to the Release 1.5.0 milestone Dec 21, 2017
@oyeb oyeb added this to Need discussion in Gringotts [low-hanging-fruit] Jan 24, 2018
@pkrawat1 pkrawat1 removed this from the Release 1.5.0 milestone Jan 25, 2018
@oyeb
Copy link
Contributor

oyeb commented Jun 4, 2018

Closing as this being tracked in #49

@oyeb oyeb closed this as completed Jun 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Gringotts [low-hanging-fruit]
  
Need discussion
Development

No branches or pull requests

3 participants