Skip to content

Commit

Permalink
Statement Tap 2.1.2 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
torresejay102 committed Apr 29, 2022
1 parent 79edec8 commit 9cfc5bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"location" : "https://github.com/brankas/core-sdk-ios",
"state" : {
"branch" : "master",
"revision" : "5e4dbf5ff6af9c5f37142a625441b386087b4111"
"revision" : "f864c2d7fb375e8789070e7f053095dfc247f2db"
}
}
],
Expand Down
4 changes: 2 additions & 2 deletions TestApp/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ViewController: UIViewController, CheckDelegate {

StatementTapSF.shared.initialize(apiKey: Constants.API_KEY, certPath: nil, isDebug: false)

let request = StatementTapRequest(country: Country.PH, bankCodes: [BankCode.BDO], externalId: "External ID", successURL: "https://google.com", failURL: "https://hello.com", organizationName: "Organization Name", redirectDuration: 60, browserMode: StatementTapRequest.BrowserMode.WebView, dismissAlert: nil, useRememberMe: false)
let request = StatementTapRequest(country: Country.PH, bankCodes: [BankCode.BDO], externalId: "External ID", successURL: "https://google.com", failURL: "https://hello.com", organizationName: "Organization Name", redirectDuration: 60, browserMode: StatementTapRequest.BrowserMode.WebView, dismissAlert: nil, useRememberMe: false, statementRetrievalRequest: StatementRetrievalRequest())

do {
let retrieveStatements = { (data: Any?, error: String?) in
Expand Down Expand Up @@ -62,7 +62,7 @@ class ViewController: UIViewController, CheckDelegate {
}
}
}
try StatementTapSF.shared.checkout(statementTapRequest: request, vc: self, closure: retrieveStatements, showBackButton: false)
try StatementTapSF.shared.checkout(statementTapRequest: request, vc: self, closure: retrieveStatements, showBackButton: true)
} catch {
print("Error: \(error)")
}
Expand Down

0 comments on commit 9cfc5bf

Please sign in to comment.