-
Notifications
You must be signed in to change notification settings - Fork 72
Stop using dynamic keys with the database cache #11092
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
Open
RadoslavGeorgiev
wants to merge
19
commits into
develop
Choose a base branch
from
WOOPMNT-4879
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 14 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
f54a2d6
Remove unused force refresh flags
RadoslavGeorgiev 229a931
For recommended payment methods & onboarding data, store country code…
RadoslavGeorgiev 2b49bf7
Changelog entry
RadoslavGeorgiev 409be11
Remove the onboarding and payment method keys as prefixes
RadoslavGeorgiev a00144d
Remove a left-over key for payment processing factors
RadoslavGeorgiev 9719757
Transfer functionality to the token service, delete the rest
RadoslavGeorgiev ad6c994
Remove the webhook processing service's dependency
RadoslavGeorgiev 3058d5e
Add user-based caching to the token service, fix the methods that cle…
RadoslavGeorgiev 05d27d4
Fix most existing tests
RadoslavGeorgiev e272a5f
Include gateway IDs in payment method cache. Remove calls to delete f…
RadoslavGeorgiev 25998d5
Add tests for the new methods of the token service
RadoslavGeorgiev 1b735b9
Clean up properly after token service tests
RadoslavGeorgiev 374dd97
Merge branch 'develop' into WOOPMNT-4879
RadoslavGeorgiev 53fea0a
Remove todo comment, caching is now in place
RadoslavGeorgiev 6eb011e
Remove redundant conditions from tests, fix the call for internal met…
RadoslavGeorgiev 8c6cc6f
Update the changelog entry
RadoslavGeorgiev c58952a
Move a never() mock before the method call
RadoslavGeorgiev 4dcd3e0
Combine tests for network cards
RadoslavGeorgiev 97d1540
Clear cached payment methods upon the account.deleted webhook
RadoslavGeorgiev 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| Significance: minor | ||
| Type: dev | ||
|
|
||
| Stop using dynamic keys for the database cache in favor of better validation and transients. | ||
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.
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.
Uh oh!
There was an error while loading. Please reload this page.