Skip to content

Commit

Permalink
feat(brokerage): when not yodlee and usd use bank account payment method
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed Apr 26, 2021
1 parent 0d13c9e commit 0d48ea9
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ class EnterAmount extends PureComponent<Props> {
let paymentMethod: SBPaymentTypes | 'ALL' = 'ALL'
if (this.props.defaultMethod) {
paymentMethod = 'BANK_TRANSFER'
if (
this.props.defaultMethod.partner !== 'YODLEE' &&
this.props.defaultMethod.currency === 'USD'
) {
paymentMethod = 'BANK_ACCOUNT'
}
}
// We need to make this call each time we load the enter amount component
// because the bank wires and ach have different min/max/fees
Expand Down

0 comments on commit 0d48ea9

Please sign in to comment.