Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up PayPal JS and corresponding controller code (#9244)
* Fix PayPal JS code * Generalize StripeAmount API for other gateways * Clean up API routing in PayPal JS code * Fix URL and AJAX payload typos * Introduce SDK-conform error handling * Introduce cancellation handler * Remove pending TODO * Fix tests * Actually fix tests
- Loading branch information
Showing
6 changed files
with
87 additions
and
152 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
Oops, something went wrong.