70106d45d3
* 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 <nadir.seghir@gmail.com> * Spacing * Split saved cards tests from regular, since saved cards are checked by default Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com> |
||
---|---|---|
.. | ||
test | ||
actions.ts | ||
constants.ts | ||
event-emit.ts | ||
index.ts | ||
payment-method-data-context.tsx | ||
reducer.ts | ||
types.ts | ||
use-payment-method-dispatchers.ts | ||
use-payment-method-registration.ts | ||
utils.ts |