Skip to content
Permalink
Browse files

hotfix for passing default bank acct id

  • Loading branch information
rrk12005 committed Apr 8, 2019
1 parent 520d31a commit cc16cdfc3216c3380a283ab61fb308b81ffed5f8
@@ -55,7 +55,7 @@ class PaymentDetailInterfaceController: WKInterfaceController {


// process this payment using default bank account (9999) until ability to change account is implemented // process this payment using default bank account (9999) until ability to change account is implemented
if let bankacct = UserDefaults.standard.dictionary(forKey: "default_bank_acct") as? [String: String] { if let bankacct = UserDefaults.standard.dictionary(forKey: "default_bank_acct") as? [String: String] {
self.bankID = bankacct["bankID"] ?? "9999" self.bankID = bankacct["bankAcctId"] ?? "9999"
} }


FetchData.submitPayment(for: alias, type: type, amount: self.paymentAmount, bankID: self.bankID) { confirmationNum, paymentID, error in FetchData.submitPayment(for: alias, type: type, amount: self.paymentAmount, bankID: self.bankID) { confirmationNum, paymentID, error in

0 comments on commit cc16cdf

Please sign in to comment.
You can’t perform that action at this time.