-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BANKCON-14524] Allow pay by bank when linkCardBrand criteria is met …
…& dedupe instant debits (#4021) ## Summary Per the [Panther project plan](https://docs.google.com/document/d/1ErJVA3lLvNspPe3A8uYP9feK8Yvfq-Sw5aatNIvlGxk/edit?usp=sharing), this adds Link Card Brand as a payment method when the following criteria is met: - `link_funding_sources` contains `BANK_ACCOUNT` - `US_BANK_ACCOUNT` is not an available payment method. - `link_mode` is `LINK_CARD_BRAND` This also makes sure that both Instant Debits and Link Card Brand won't both be shown at the same time, since they appear as identical payment methods to a user (same name, icon, and elements form). ## Motivation Building Panther support! ## Testing Added a unit test, and manually verified the new payment method shows up when the conditions are met: https://github.com/user-attachments/assets/28a1f8d6-abab-4143-ae1f-0a468340718d ## Changelog N/a
- Loading branch information
1 parent
4cee7ab
commit 3b8e1f6
Showing
4 changed files
with
74 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters