justifi-tech / web-component-library

Web components built using StencilJS
MIT License
2 stars 3 forks source link

Checkout: Don't show card/bank in payment method group if disabled #625

Closed jakemer closed 2 weeks ago

jakemer commented 1 month ago

The checkout component has disable-credit-card and disable-bank-account props which will hide the ability to create new credit card and bank account payment methods, however it does not filter those payment methods out of previously saved payment methods. We need to filter the saved payment methods so that we are not showing disabled payment methods types.

Make BNPL the default (after saved payment methods) if it's enabled

jakemer commented 1 month ago

This is blocked for the time being - we need the backend to return card/ach types for the saved payment method tokens in order to be able to filter them out when disabled

jakemer commented 1 month ago

This issue is dependent on / blocked by https://github.com/justifi-tech/hosted-checkout-be/pull/354