hcb icon indicating copy to clipboard operation
hcb copied to clipboard

HcbCodes with duplicate CanonicalPendingTransactions

Open garyhtou opened this issue 1 year ago • 0 comments

Three things:

  1. Figure out why we're creating duplicate CPTs for a single BankFee HcbCode (HCB-700-%)
  2. Figure out why we're creating duplicate CPTs for a single card charge HcbCode (HCB-600-%)
  3. Add an index on transaction_source_type transaction_source_id to prevent this
  • https://hcb.hackclub.com/blazer/queries/810-hcbcodes-with-duplicate-canonicalpendingtransactions
  • https://hackclub.slack.com/archives/C026RKHLPNJ/p1739411987092909
  • https://hcb.hackclub.com/blazer/queries/808-duplicate-cpts-for-a-single-rawpendingstripetransaction

garyhtou avatar Feb 13 '25 02:02 garyhtou