Skip to content
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

[C-4512] Implement purchase vendor tracking #8763

Merged
merged 4 commits into from
Jun 11, 2024

Conversation

raymondjacobson
Copy link
Member

@raymondjacobson raymondjacobson commented Jun 7, 2024

Description

We want to track the vendor for purchases. This will help us send e-mails that clarify whether a purchase was made through Coinflow or the user bank.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide repro instructions & any configuration.

Purchased track and confirmed notification included vendor.

Copy link

changeset-bot bot commented Jun 7, 2024

⚠️ No Changeset found

Latest commit: 0694a1e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@isaacsolo isaacsolo requested a review from dharit-tan June 10, 2024 23:51
Copy link

gitguardian bot commented Jun 10, 2024

⚠️ GitGuardian has uncovered 8 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
10116465 Triggered Generic High Entropy Secret 1c98290 .env View secret
11648675 Triggered Generic High Entropy Secret 1c98290 .env View secret
11648676 Triggered Generic High Entropy Secret 1c98290 .env View secret
11648677 Triggered Generic High Entropy Secret 1c98290 .env View secret
11648678 Triggered Generic High Entropy Secret 1c98290 .env View secret
11648679 Triggered Generic High Entropy Secret 1c98290 .env View secret
11648680 Triggered Generic High Entropy Secret 1c98290 .env View secret
11648681 Triggered Generic High Entropy Secret 1c98290 .env View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@isaacsolo isaacsolo marked this pull request as ready for review June 11, 2024 00:23
@pull-request-size pull-request-size bot added size/M and removed size/S labels Jun 11, 2024
@isaacsolo isaacsolo changed the title Implement purchase vendor tracking [C-4512] Implement purchase vendor tracking Jun 11, 2024
class PurchaseVendor(str, enum.Enum):
user_bank = "user_bank"
coinflow = "coinflow"

Copy link
Contributor

Choose a reason for hiding this comment

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

could add stripe

Copy link
Member Author

Choose a reason for hiding this comment

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

can't!

Copy link
Member Author

Choose a reason for hiding this comment

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

the USDC comes from the user bank not stripe. we can do this soon by adding,.. another memo heheh

@isaacsolo isaacsolo merged commit dfa3b62 into main Jun 11, 2024
12 checks passed
@isaacsolo isaacsolo deleted the rj-coinflow-purchase-vendor branch June 11, 2024 02:43
schottra added a commit that referenced this pull request Jun 11, 2024
…-gated-content

* origin/main: (42 commits)
  Improve listen count checking (#8784)
  [C-4512] Implement purchase vendor tracking (#8763)
  [QA-973] Fix top playlists (#8774)
  Fix monorepo verify (#8781)
  [C-4475] Consume MusicBadge on track/collection pages (#8779)
  [QA-1342] Fix default SSR tags (#8719)
  [Web][Mobile] Reapply "Display manager mode notifications" [C-4426] without rogue .env (#8778)
  [C-4484] Add NoResultsTile to new search page (#8772)
  [C-4485] Prevent category changes when there is no search query (#8770)
  Upgrade mobile apps to .101 (#8777)
  Revert "Display manager mode notifications" [C-4426] (#8775)
  [Notifications] Update bad snapshot (#8776)
  [QA-1288] Fix tip reactions on mobile (#8773)
  [Discovery] [Notifications] Push and email notifs for manager mode [PAY-2830] (#8622)
  Add small variant to web Harmony MusicBage (#8771)
  Update recovery email (#8758)
  Audius Protocol v0.6.122
  Audius Client (Web and Mobile) v1.5.84
  [C-4476] HarmonyNative MusicBadge component (#8765)
  [QA-1361] Fix audio-nfts playlist (#8764)
  ...
audius-infra pushed a commit that referenced this pull request Jun 11, 2024
[7852ecc] Improve listen count checking (#8784) Raymond Jacobson
[dfa3b62] [C-4512] Implement purchase vendor tracking (#8763) Raymond Jacobson
[d232cfe] [QA-973] Fix top playlists (#8774) Dylan Jeffers
[904e70c] Fix monorepo verify (#8781) Dylan Jeffers
[87e2f63] [Notifications] Update bad snapshot (#8776) nicoback2
[c3eaf37] [Discovery] [Notifications] Push and email notifs for manager mode [PAY-2830] (#8622) nicoback2
[a4a910d] Update recovery email (#8758) Isaac Solo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants