-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Demo app - Make Buliding urlRequests Consistent (#257)
* Modify setup token for card 3DS, UI for SCA * added optional status field and more test cards in UI * add more 3DS contingency, vaultDelegate 3DS functions * unit tests, typo in vm * pr feedback: remove deeplinkURL and add threeDSecureAttempted boolean in CardVaultResult * pr feedback * change threeDSecureAttempted to didAttemptThreeDSecureAuthentication * CHANGELOG and CardVaultRequest visibility * CHANGELOG for didAttemptThreeDSecureAuthentication name * fix mistake on vault docString * return notifyVaultFailure for invalid 3DS url, tests for 3DS url * steven pr feedback * extra space in docStrings * CHANGELOG update for cancel delegate function name * jax pr feedback, docstrings, sca omit default string * Sammy pr feedback * change cancel name to cardThreeDSecureDidCancel * Demo app - make buliding urlRequests consistent * remove PaymentTokenRequest * Jax, Rich PR feedback * combine if statements * sammy and jax PR feedback: CHANGELOG * Jax PR feedback
- Loading branch information
1 parent
2baf72b
commit 670138c
Showing
9 changed files
with
79 additions
and
170 deletions.
There are no files selected for viewing
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
4 changes: 2 additions & 2 deletions
4
Demo/Demo/Models/SetupTokenResponse.swift → ...emo/Models/CreateSetupTokenResponse.swift
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,21 @@ | ||
import Foundation | ||
|
||
struct PaymentTokenParam: Encodable { | ||
|
||
let paymentSource: PaymentSource | ||
|
||
struct PaymentSource: Encodable { | ||
|
||
let token: Token | ||
|
||
init(setupTokenID: String) { | ||
token = Token(id: setupTokenID) | ||
} | ||
} | ||
|
||
struct Token: Encodable { | ||
|
||
let id: String | ||
let type = "SETUP_TOKEN" | ||
} | ||
} |
This file was deleted.
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
Oops, something went wrong.