-
Notifications
You must be signed in to change notification settings - Fork 69
Begin creating RawPendingColumnTransaction and switch Column HCB codes to having the Column ID
#10704
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: filter out incoming money transactions without an event-specific account number
db/migrate/20250625003228_create_raw_pending_column_transactions.rb
Outdated
Show resolved
Hide resolved
...ate/20250625004725_add_raw_pending_column_transaction_id_to_canonical_pending_transaction.rb
Show resolved
Hide resolved
|
|
||
| def create_canonical_pending_transaction | ||
| column_account_number = Column::AccountNumber.find_by(column_id: column_transaction["account_number_id"]) | ||
| return unless column_account_number |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: When might we run into this scenario? Should we fail louder?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is common and we shouldn't fail for this - this is any time a transaction hits our main account number and can't be matched to an event. Examples include internal book transfers and all Stripe transactions.
RawPendingColumnTransactionRawPendingColumnTransaction and switch Column HCB codes to having the Column ID
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
| # event-specific account numbers. | ||
| return if account_number.nil? | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # event-specific account numbers. | |
| return if account_number.nil? | |
| # event-specific account numbers. | |
| return if account_number.nil? | |
Context behind this implementation is available at #9659.