This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revise checkout payment statuses to avoid data loss on error (#5350)
* Clarify docs for STARTED * Clarify docs for setActivePaymentMethod * Remove useActivePaymentMethod hook (this held state for active methods and tokens) * Update type defs * Enhance setActivePaymentMethod action to accept method data * SET_ACTIVE_PAYMENT_METHOD action * Add setActivePaymentMethod dispatcher and make "started" status only * Update setActivePaymentMethod usage in express methods * Set radio control defaults * Consolodate tokens and methods * Update assets/js/base/context/providers/cart-checkout/payment-methods/reducer.ts Co-authored-by: Seghir Nadir <[email protected]> * Spacing * Split saved cards tests from regular, since saved cards are checked by default Co-authored-by: Seghir Nadir <[email protected]>
- Loading branch information
1 parent
527ae50
commit eb607e8
Showing
14 changed files
with
265 additions
and
308 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.