Skip to content

Conversation

@sampoder
Copy link
Member

Context behind this implementation is available at #9659.

@sampoder sampoder requested review from a team as code owners June 25, 2025 01:27
@sampoder sampoder marked this pull request as draft June 25, 2025 01:27
Copy link
Member Author

@sampoder sampoder left a 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


def create_canonical_pending_transaction
column_account_number = Column::AccountNumber.find_by(column_id: column_transaction["account_number_id"])
return unless column_account_number
Copy link
Member

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?

Copy link
Member Author

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.

@sampoder sampoder changed the title WIP: enable instant Column deposits using a RawPendingColumnTransaction Begin creating RawPendingColumnTransaction and switch Column HCB codes to having the Column ID Jul 30, 2025
@sampoder sampoder marked this pull request as ready for review July 30, 2025 22:06
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Comment on lines +62 to +64
# event-specific account numbers.
return if account_number.nil?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# event-specific account numbers.
return if account_number.nil?
# event-specific account numbers.
return if account_number.nil?

@sampoder sampoder added this pull request to the merge queue Jul 30, 2025
Merged via the queue into main with commit 5a5cd12 Jul 30, 2025
13 checks passed
@sampoder sampoder deleted the instant-column-deposits branch July 30, 2025 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants