-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix IAP receipt validation crash on receipt with invalid transaction ID
During testing I noticed that sending receipt payloads that have a valid format but invalid transaction ID would crash the server. This commit fixes that and adds test coverage for this edge case. Testing: - All tests passing, both new and old - Ran an iOS simulator containing an IAP signed locally by Xcode (the one that originally caused the crash) and verified the crash no longer occurs Signed-off-by: Daniel D’Aquino <[email protected]>
- Loading branch information
1 parent
9558b19
commit 680031a
Showing
3 changed files
with
49 additions
and
8 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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