-
Notifications
You must be signed in to change notification settings - Fork 5.3k
feat: update subscription check out url handling #36161
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
Merged
+94
−27
Merged
Changes from all commits
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
7b6ad10
feat: added shield plan UI
lionellbriones af2361a
feat: updated font size
lionellbriones 1e12eb8
feat: add save badge, custom token list and confirmation style UI
lionellbriones 9b04558
feat: added locales
lionellbriones a65959b
feat: fix states
lionellbriones 94de6a5
feat: added shield payment modal tests
lionellbriones b1682cb
feat: add shield plan test
lionellbriones 24fa9ef
Merge branch 'main' into feat/shield-plan
lionellbriones 9e965cb
feat: filter stable coins
lionellbriones 2f2c0f1
Merge branch 'main' into feat/shield-plan
lionellbriones e11a3cd
Merge branch 'main' into feat/shield-plan
lionellbriones 8dfd009
feat: fix lint and unit tests
lionellbriones 357b5e1
feat: fix lint and null selected asset
lionellbriones 38b7f25
fix: test lint
lionellbriones c12c694
fix: removed unused codes
lionellbriones 3cc3139
fix: issue on token list generator
lionellbriones c986aea
feat: update code owner
lionellbriones d991948
feat: remove code owners
lionellbriones 7f29c2a
Merge branch 'main' into feat/shield-plan
lionellbriones 4fcb2e8
feat: fix messages lint
lionellbriones 6d196b4
feat: add loader
lionellbriones 0446205
feat: subscription controller init
tuna1207 4e205ce
feat: expose subscription api
tuna1207 8729e79
feat: handle shield payment plan tokens
tuna1207 303655b
fix: correct pricing hook
tuna1207 a5a5fc4
feat: update actions
tuna1207 da1e06f
feat: shield plan subscription data
tuna1207 3c7537a
feat: handle controller method
tuna1207 2ed847d
feat: update shield screen integration
tuna1207 2a65c8f
feat: update billing display
tuna1207 2b253ec
feat: update user subscriptions hook
tuna1207 148a8a6
Merge branch 'main' into feat/shield-plan
lionellbriones d3a82a7
Merge branch 'feat/shield-plan' into feat/subscription-payment-option…
tuna1207 212203d
Merge branch 'feat/subscription-payment-options-integration' into fea…
tuna1207 cb7cab5
feat: move launchwebauthflow to background
tuna1207 d0a8537
fix: correct trial requested
tuna1207 e06d286
fix: lowercase address compare
tuna1207 4989432
fix: typo
tuna1207 9fca627
fix: correct comment
tuna1207 4b38166
fix: use selected token icon
tuna1207 f852d3c
Merge branch 'feat/subscription-payment-options-integration' into fea…
tuna1207 1169cb4
Merge branch 'main' into feat/subscription-payment-options-integration
tuna1207 e5b423b
chore: temp controller tgz
tuna1207 bca6731
fix: lint
tuna1207 92b4689
fix: test case
tuna1207 575c04f
fix: correct log import
tuna1207 19c2dfa
fix: shield plan story
tuna1207 21a1463
fix: undefined subscriptions
tuna1207 d527b73
chore: use correct subscription controller version
tuna1207 90d3bba
fix: lint locale
tuna1207 7865311
fix: shield plan text
tuna1207 6af84c9
chore: yarn dedupe
tuna1207 3bee4f8
Update LavaMoat policies
metamaskbot a32a047
fix: start subscription with card params
tuna1207 17f70d6
chore: update lavamoat
tuna1207 a1ab419
Merge branch 'feat/subscription-payment-options-integration' into fea…
tuna1207 4f2d9c8
Update LavaMoat policies
metamaskbot 86329d1
Merge branch 'feat/subscription-payment-options-integration' into fea…
tuna1207 419a170
feat: update e2e state check
tuna1207 49f15b7
fix: lint
tuna1207 b42663b
Merge branch 'feat/subscription-payment-options-integration' into fea…
tuna1207 326f38b
feat: stop showing loader on view billing
lionellbriones 4ce1de3
Merge branch 'main' into feat/subscription-shield-settings-integration
tuna1207 993e087
feat: use customer id for member ship id
tuna1207 6f3b9e3
feat: cancel subscription button show and date
tuna1207 ea10ede
feat: updated locales banner alert and payment method button
lionellbriones 4b3d276
feat: added paused state
lionellbriones 0191870
feat: update locales and copywriting
lionellbriones 2494a64
chore: subscription controller dev build use dev backend
tuna1207 c8e8808
fix: correct payment method card
tuna1207 6e609b6
feat: add a loader when user submit shield plan
lionellbriones 3244641
refactor: start subscription pop up loading
tuna1207 9966e3b
fix: lint
tuna1207 d083437
fix: correct sheild plan when continue
tuna1207 ccdb613
fix: correct platform usage
tuna1207 7e772cd
fix: test cases
tuna1207 3a2c5ad
fix: trialed param
tuna1207 7844231
fix: trailed check test
tuna1207 2339a23
fix: correct start subscription function
tuna1207 35e8cba
chore: add todo comment
tuna1207 f5652df
feat: update subscription check out url handling
tuna1207 490dd55
fix: remove comment
tuna1207 68e928d
fix: variable name
tuna1207 3343545
fix: correct subscription fetching
tuna1207 3792f81
chore: update subscription controller 0.2.0
tuna1207 b40543e
fix: yarn dedupe
tuna1207 2f7b8ec
fix: type test
tuna1207 7604111
Update LavaMoat policies
metamaskbot 44f461f
Merge branch 'main' into feat/checkout-url-handling
tuna1207 229db31
Merge branch 'main' into feat/checkout-url-handling
chaitanyapotti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Bug
The
startSubscriptionWithCard
method callsthis.platform.closeTab(tabId)
without awaiting its async operation or handling potential rejections. IfcloseTab
fails to close the tab, theonTabRemovedListener
won't trigger, causing the checkout Promise to hang indefinitely and leaving event listeners active.