d76fa0a6cc
* Change type of payment requirements to string[] * Add CanMakePaymentArgumentCart type and update CanMakePaymentArgument * Add getCanMakePaymentArg function to get the arg, allows reusability * Check saved methods gateway's to see if they can make payment * Make canMakePaymentArg a dependency of the useMemo * Remove await from sync function call * Update variable names to better reflect what they store * Add tests to ensure saved payment methods don't show if canPay is false * Rename save-payment-method-options to tsx * Update saved payment method options to TS * Fix TS error in saved-payment-method-options test |
||
---|---|---|
.. | ||
test | ||
utils | ||
action-types.ts | ||
actions.ts | ||
constants.ts | ||
default-state.ts | ||
index.ts | ||
reducers.ts | ||
selectors.ts | ||
thunks.ts | ||
types.ts |