Skip to content

Commit 5292b42

Browse files
authored
[Verification Deposit] Add AMTS: to detector (#12337)
## Summary of the problem Related to #12336. `AMTS:` deposits were visible. There are only 9 instances of these in prod. ## Describe your changes Add `AMTS:` to memo detector.
1 parent 942f906 commit 5292b42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/canonical_transaction.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def likely_account_verification_related?
353353
# Substring match (case-insensitive) for any of these identifiers in the
354354
# memo indicating an account verification transaction. The majority use
355355
# "ACCTVERIFY", however, it appears a few companies use other variants.
356-
memo_matches = %w[acctverify verify validation sdv-vrfy].any? { |s| memo.downcase.include?(s) }
356+
memo_matches = %w[acctverify verify validation sdv-vrfy amts:].any? { |s| memo.downcase.include?(s) }
357357

358358
hcb_code.starts_with?("HCB-000-") && amount_cents.abs < 100 && memo_matches
359359
end

0 commit comments

Comments
 (0)