forked from hideokamoto/stripe-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use unexpectedErrorCode for unexpected errors that we should alert on… (
stripe#3497) … in STPPaymentHandler ## Summary Now that STPPaymentHandler sends start and finish analytics (stripe#3484) and sends loggableUserInfo in those analytics (stripe#3486), this PR: 1. _Finishes_ the confirmation with an error instead of hanging, in certain cases 2. Corrects errors that were using the wrong/inaccurate error code 3. Adds an "unexpectedErrorCode" case for unexpected errors that should never happen and indicate a problem with the SDK/API that we should alert on ## Testing Relying on existing unit tests ## Changelog Not user facing.
- Loading branch information
1 parent
c9481e0
commit ac4a846
Showing
6 changed files
with
420 additions
and
501 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
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
Oops, something went wrong.