Dwolla.Gateway.DwollaServerCheckoutApi.DwollaServerCheckoutApi C# (CSharp) Method

DwollaServerCheckoutApi() public method

This constructor will retrieve AppKey and AppSecret from your web.config/appSettings location. AppKey = AppSettings["dwolla_key"] (required), AppSecret = AppSettings["dwolla_secret"] (required), TestMode = AppSettings["dwolla_testmode"] (optional) default false.
public DwollaServerCheckoutApi ( ) : System
return System
        public DwollaServerCheckoutApi()
            : this(
                ConfigurationManager.AppSettings["dwolla_key"],
                ConfigurationManager.AppSettings["dwolla_secret"],
                Convert.ToBoolean(ConfigurationManager.AppSettings["dwolla_testmode"] ?? "false"))
        {
        }

Same methods

DwollaServerCheckoutApi::DwollaServerCheckoutApi ( string appKey, string appSecret, bool testMode = false ) : System