-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from payfort/Release-feature
Release feature
- Loading branch information
Showing
28 changed files
with
687 additions
and
243 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
PODS: | ||
- IQKeyboardManagerSwift (6.5.16) | ||
- MBProgressHUD (1.2.0) | ||
- PayFortSDK (3.2.0) | ||
|
||
DEPENDENCIES: | ||
- IQKeyboardManagerSwift | ||
- MBProgressHUD | ||
- PayFortSDK (from `/Users/cetozgen/gitprivaterepos/fort-ios-sdk-localtest/`) | ||
|
||
SPEC REPOS: | ||
trunk: | ||
- IQKeyboardManagerSwift | ||
- MBProgressHUD | ||
|
||
EXTERNAL SOURCES: | ||
PayFortSDK: | ||
:path: "/Users/cetozgen/gitprivaterepos/fort-ios-sdk-localtest/" | ||
|
||
SPEC CHECKSUMS: | ||
IQKeyboardManagerSwift: 12d89768845bb77b55cc092ecc2b1f9370f06b76 | ||
MBProgressHUD: 3ee5efcc380f6a79a7cc9b363dd669c5e1ae7406 | ||
PayFortSDK: 92d7df56734bd520241250ebc9b93987782b33b9 | ||
|
||
PODFILE CHECKSUM: 8037295a3735c99e78f5a1b1d37cac6edcee2814 | ||
|
||
COCOAPODS: 1.14.3 |
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
SampleApp/SampleApp.xcodeproj/xcshareddata/xcschemes/SampleApp.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...pp/SampleApp.xcodeproj/xcuserdata/cetozgen.xcuserdatad/xcschemes/xcschememanagement.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>SchemeUserState</key> | ||
<dict> | ||
<key>SampleApp.xcscheme_^#shared#^_</key> | ||
<dict> | ||
<key>orderHint</key> | ||
<integer>3</integer> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</plist> |
Binary file removed
BIN
-61.6 KB
...ampleApp.xcworkspace/xcuserdata/ahmadalkalouti.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
Binary file added
BIN
+181 KB
...eApp/SampleApp.xcworkspace/xcuserdata/cetozgen.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// | ||
// STCPay.swift | ||
// SampleApp | ||
// | ||
// Created by Cetinkaya, Ozgen on 3/14/23. | ||
// Copyright © 2023 PayFort. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
import PayFortSDK | ||
|
||
let vc = STCPayViewController.init(enviroment: .sandBox) | ||
|
||
extension MainViewController { | ||
@IBAction func STCPayAction(_ sender: Any) { | ||
|
||
let params = extractExtraParam() | ||
|
||
vc.openPaymentPage(with: params, | ||
currentViewController: self) { requestDic, responeDic in | ||
print(requestDic) | ||
print(responeDic) | ||
GlobalClass.openResponseViewController(from: self, response: responeDic) | ||
} faild: { requestDic, responeDic, message in | ||
print("request failed") | ||
print(requestDic) | ||
print(responeDic) | ||
GlobalClass.openResponseViewController(from: self, response: responeDic) | ||
} canceled: { requestDic, responeDic in | ||
print("request cancelled") | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.