Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

[PAY-651][PAY-613] Add Stripe Provider to On Ramps#1950

Merged
rickyrombo merged 25 commits into
mainfrom
mjp-stripe-provider
Sep 28, 2022
Merged

[PAY-651][PAY-613] Add Stripe Provider to On Ramps#1950
rickyrombo merged 25 commits into
mainfrom
mjp-stripe-provider

Conversation

@rickyrombo

@rickyrombo rickyrombo commented Sep 19, 2022

Copy link
Copy Markdown
Contributor

Description

  • Adds Stripe as a provider to the on ramp enum
  • Adds an action/selector to set/get the on ramp provider
  • Create an OnRampButton instead of CustomCoinbaseButton that's shared between stripe/coinbase
  • Fix dark mode/matrix mode for the OnRampButton
  • Add proper memo for on ramps that use Stripe
  • Use correct provider string for metrics
  • Add a new modal to display Stripe UI in

NOTE: Does not actually call new libs method yet, depends on AudiusProject/apps#3878

TODO:

Dragons

Is there anything the reviewer should be on the lookout for? Are there any dangerous changes?

How Has This Been Tested?

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

Couldn't test E2E yet, due to issues in Stripe API, but UI looks good so far

How will this change be monitored?

For features that are critical or could fail silently please describe the monitoring/alerting being added.

Added provider to the amplitude logs

Feature Flags

Are all new features properly feature flagged? Describe added feature flags.

All behind BUY_AUDIO_ENABLED

@rickyrombo rickyrombo changed the title Add Stripe Provider to On Ramps [PAY-651][PAY-613] Add Stripe Provider to On Ramps Sep 19, 2022
@rickyrombo rickyrombo marked this pull request as ready for review September 20, 2022 19:18
@audius-infra

Copy link
Copy Markdown
Collaborator

Preview this change https://demo.audius.co/mjp-stripe-provider

@gitguardian

gitguardian Bot commented Sep 21, 2022

Copy link
Copy Markdown

⚠️ GitGuardian has uncovered 5 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 Secret Commit Filename
2858199 Generic High Entropy Secret eb3cc2e packages/mobile/.env.dev.tmpl View secret
2858198 Generic High Entropy Secret eb3cc2e packages/mobile/.env.prod.tmpl View secret
2858199 Generic High Entropy Secret eb3cc2e packages/mobile/.env.stage.tmpl View secret
2858198 Generic High Entropy Secret afdf2db packages/web/.env/.env.prod View secret
2858199 Generic High Entropy Secret afdf2db packages/web/.env/.env.stage 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.

Our GitHub checks need improvements? Share your feedbacks!

@audius-infra

Copy link
Copy Markdown
Collaborator

Preview this change https://demo.audius.co/mjp-stripe-provider

sddioulde
sddioulde previously approved these changes Sep 21, 2022

@sddioulde sddioulde left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nice!

@sddioulde sddioulde self-requested a review September 21, 2022 17:58
@sddioulde sddioulde dismissed their stale review September 21, 2022 17:59

waiting for todos to complete before approving

@piazzatron piazzatron left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@rickyrombo

Copy link
Copy Markdown
Contributor Author

Gonna save remaining TODOs for a followup PR

@audius-infra

Copy link
Copy Markdown
Collaborator

Preview this change https://demo.audius.co/mjp-stripe-provider

@audius-infra

Copy link
Copy Markdown
Collaborator

Preview this change https://demo.audius.co/mjp-stripe-provider

@rickyrombo rickyrombo merged commit 0fda0b8 into main Sep 28, 2022
@rickyrombo rickyrombo deleted the mjp-stripe-provider branch September 28, 2022 01:49
audius-infra pushed a commit that referenced this pull request Oct 1, 2022
[287f114] [C-1179] Fix edit-profile (#2048) Dylan Jeffers
[65456c9] [C-1207] Fix stem downloads (#2041) Dylan Jeffers
[aa7183c] Fix duplicate playlists once playlist is confirmed  / Await feature flag response in sagas C-1199 (#2044) nicoback2
[2340604] [C-1208] Track playback UID is not consistent when clicking into track (#2046) Sebastian Klingler
[b300cba] Add premium content default fields to track upload (#2042) Saliou Diallo
[e80e0bb] [PAY-655] Refactor challenges config, fix bugs (#2016) Michael Piazza
[86d4741] [C-1206] double check before declaring offline state (#2034) Andrew Mendelsohn
[69ccfac] Upgrade sdk 1.0.8 (#2040) Isaac Solo
[3c8ac81] Fix image uploads in new native (#2019) nicoback2
[e0faae7] Fix tracks/reposts lineups for artist with handles with capitials (#2039) Dylan Jeffers
[32b472b] [C-481] Fix profile header loading jank (#2038) Dylan Jeffers
[7e3a4c6] [C-1128] Add profile screen skeleton (#2037) Dylan Jeffers
[e3390af] Improve navigation perf related to drawer context (#2036) Dylan Jeffers
[9a12d48] Fix profile reposts loading issue (#2035) Dylan Jeffers
[544b01e] [C-1065][C-1066] Primitive download and playback for tracks offline (#2021) Andrew Mendelsohn
[d335a31] User entity manager (#2017) Joseph Lee
[522f044] Disable dominant color on mobile (#2031) Sebastian Klingler
[c3093a6] Add AudioTransactionsIcon component (#2030) Kyle Shanks
[c31d1b2] Fix some tests c-1140 (#1966) nicoback2
[575caad] [C-1197] Custom skeleton for feed tip tile (#2027) Raymond Jacobson
[8399ee1] fix new playlist made from track - invalid date (#2029) nicoback2
[3971aaf] [C-1154] Deep linking (#2023) Sebastian Klingler
[fcaf65a] [C-1195] Fix image loading in image hooks (#2025) Dylan Jeffers
[6f54ba1] [C-1194] Fix desktop profile state (#2022) Dylan Jeffers
[3044ded] Fix navigation context scope and setting (#2026) Dylan Jeffers
[4c8bb56] [C-1092] Implement eager load utils in mobile (#2002) Raymond Jacobson
[37048f6] Fix static server crash (#2024) Sebastian Klingler
[4d7bd27] Add entity manager address to dev (#2013) Isaac Solo
[d77ee2d] Fix feeling lucky typecheck (#2020) Isaac Solo
[e83d105] Update feeling lucky to not rely on latest track (#1954) Isaac Solo
[af72734] Add new table for Artist Dashboard (#2018) Kyle Shanks
[f3f8abb] [C-1177] Move tipping requests to api client (#1995) Raymond Jacobson
[b2b986d] [C-1170] Optimistically add/remove reposted tracks/collections (#2009) Dylan Jeffers
[0fda0b8] [PAY-651][PAY-613] Add Stripe Provider to On Ramps (#1950) Marcus Pasell
[5cb01d0] [C-1181] skip connection check if not in foreground (#2010) Andrew Mendelsohn
[254f42e] [C-1157] Fix remix icon position (#2014) Dylan Jeffers
[33b10ee] [C-1164] Fix collections screen loading issues (#2005) Dylan Jeffers
[9c1c1ce] Cast port to number (#2015) Sebastian Klingler
[d656b0a] Upgrade sdk 1.0.6 (#2012) Isaac Solo
[9e5dfef] Fix static server error (#2011) Sebastian Klingler
[42aa891] Hardcode web-sync static-server port (#2008) Dylan Jeffers
[9a106c3] Remove more webview instructions from readme (#2007) Sebastian Klingler
[d68aa89] Omit creator_node_endpoint when updating metadata via collectible fetch (#2006) Sebastian Klingler
[8b16e7f] Use .env.dev instead of .env.dev.local (#2004) Raymond Jacobson
[82864e0] Fix start:dev command (#2003) Raymond Jacobson
[1661b77] [C-1150, C-1165] Fix app-tab navigation (#2001) Dylan Jeffers
[8235eb0] [INF-180] Update client for new compose local dev (#1577) Raymond Jacobson
[71d1e92] [C-1167,C-1171] Fix missing tip data (#2000) Dylan Jeffers
[1c3d609] [C-1156, C-1055, C-1159] Fix profile follow button (#1999) Dylan Jeffers
[2005467] [C-1174] Fix blank listening history screen (#1998) Dylan Jeffers
[42945e3] Remove tmpl env vars (#1997) Raymond Jacobson
[f637ded] [C-1173] Reintegrate WebAppAccountSync (#1996) Dylan Jeffers
[b11f04d] [C-1176] Improve ExploreScreen performance (#1994) Dylan Jeffers
[f6680c5] [C-536] Cache makeStyles StyleSheets (#1993) Dylan Jeffers
@AudiusProject AudiusProject deleted a comment from linear Bot Sep 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants