Skip to content

Commit

Permalink
Change a function name
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamal committed May 30, 2019
1 parent 1f9573d commit 35320ee
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions one-click-ios-sample/Controllers/PaymentViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,10 @@ class PaymentViewController: UIViewController {
self.setTotal(total ?? 0)

// initialize simpl
initSimpl()
initOneClickSDK()
}

private func initSimpl() {
if (initZeroClickSDK()){
// if self.userModel?.hasZeroClickToken ?? false {
// self.callEligility()
// } else {
// self.callAproval()
// }
}
}

private func initZeroClickSDK() -> Bool {
private func initOneClickSDK() -> Bool {
GSManager.initialize(withMerchantID: "e4a905492fc1ec16d8f2d25bfd9885c7")
GSManager.enableSandBoxEnvironment(true)
return true;
Expand Down

0 comments on commit 35320ee

Please sign in to comment.