12b384374b
* use cart data to provide country and currency_code * remove files that likely got added back in from a bad rebase. * modify canMakePayment config property so it must be a function * Feed cart data to registered payment methods `canMakePayment` function. This can then be used by payment methods for determining whether to show the payment method or not. * implement new canMakePayment signature for cheque Now canMakePayment doesn’t need to be a promise (payment method registry will handle wrapping all values in a promise to treat them as promises. * implement canMakePayment as a function |
||
---|---|---|
.. | ||
cc.js | ||
constants.js | ||
elements.js | ||
index.js | ||
payment-method.js | ||
use-checkout-subscriptions.js | ||
use-element-options.js |