Skip to content

Conversation

@landonshumway-ia
Copy link
Collaborator

It turns out that authorize.net will mask strings in their transaction descriptions if the pattern matches a credit card, and we have a provider id with 16 consecutive digits. Authorize.net masked their id, which caused the transaction reporter to fail since it was unable to look up the provider id. We can no longer trust the licensee ids stored in the transaction descriptions in authorize.net.

To fix this, we are able to pull up the provider id from the CompactConnect system directly by matching the privilege record to the transaction id, and stop referencing the licensee id stored in authorize.net altogether.

This is a hotfix that needs to be rolled out to production as soon as possible.

Closes #1150

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 13, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@landonshumway-ia landonshumway-ia force-pushed the fix/map-provider-id branch 2 times, most recently from dd8f8a0 to 8dd4a9a Compare October 13, 2025 15:51
Copy link
Collaborator

@jusdino jusdino left a comment

Choose a reason for hiding this comment

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

Looks good!

@jusdino
Copy link
Collaborator

jusdino commented Oct 13, 2025

@jlkravitz , note that the Check-Python is failing because of the pip CVE, which we've already suppressed in development. The test are passing.

@landonshumway-ia
Copy link
Collaborator Author

@jlkravitz this is ready for your review. Note the python dependency audit is failing due to an unrelated warning that Justin fixed in another change on the development branch, but all the actual tests are passing. We want to get this in as a hotfix to production, after which I'll open another PR to merge this into development. Thanks

Copy link
Collaborator

@jlkravitz jlkravitz left a comment

Choose a reason for hiding this comment

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

@landonshumway-ia Looks good to me.

One thing I noticed is that the ZAP scan fails, seemingly due to missing environment variables. Since that's unrelated to this PR (and since the scan runs against the test environment anyways), I'm fine merging this as-is and trying to fix the scan for the next sprint PR.

I forgot how we decided to merge hotfix PRs into main – via squash or merge? I believe squash? @isabeleliassen This is ready to merge once we get confirmation either way from Landon on the merge strategy.

And I'll be on the lookout for a hotfix PR against development.

@isabeleliassen isabeleliassen merged commit e14269d into csg-org:main Oct 14, 2025
2 of 5 checks passed
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.

4 participants