-
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.
Improve Authorize and Place API Endpoint (#266)
* Assert payment details are set on successful order * Assign order from response to reusable variable * Move transaction data to order payment additional info * Assert transaction details are set on successful order * Fix incorrect comment to ignore "FoundFinal" standard * Fix incorrect logic for closing transaction * Refactor logic for building order payload to method * Fix incorrect method return type annotation * Fix incorrect transaction error array shape annotations * Fix incorrect method used to get order identifier * Suppress static analysis violations * Suppress missing method comment coding standard error * Assert checkout session is updated for successful order * Use contract instead of concrete implementation * Verify that error is returned if quote doesn't exist * Ensure quote is always set for tests
- Loading branch information
1 parent
d3a08d1
commit 83fec9c
Showing
2 changed files
with
165 additions
and
52 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