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 |
||
---|---|---|
.. | ||
block-settings | ||
payment-methods | ||
sidebar-notices | ||
use-forced-layout | ||
view-switcher | ||
editor-utils.ts | ||
hacks.ts | ||
index.js |