Last active
July 29, 2019 21:46
-
-
Save Yoloabdo/fee2d3eeb188f38b0da3eb9a716ebd39 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| func proceedPayfort(with order: ScanOrder) { | |
| guard let payFortController = PayFortController(enviroment: KPayFortEnviromentSandBox) else { return } | |
| PayFortCredintials.development(udid: payFortController.getUDID()!).send(PayfortResponse.self) { (results) in | |
| switch results { | |
| case .success(let key): | |
| if let token = key.sdkToken { | |
| self.ShowPayfort(controller: payFortController, with: order, token: token) | |
| }else { | |
| self.showError(sub: key.responseMessage) | |
| } | |
| case .failure(let error): | |
| self.showError(sub: error?.localizedDescription) | |
| } | |
| } | |
| } |
I am unable getting merchant identifier.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am always getting "Invalid merchant identifier"