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

[REFACTOR] Inclusion of kill switch in configs table #3443

Closed
Tracked by #3344
prajjwalkumar17 opened this issue Jan 24, 2024 · 0 comments · Fixed by #3459
Closed
Tracked by #3344

[REFACTOR] Inclusion of kill switch in configs table #3443

prajjwalkumar17 opened this issue Jan 24, 2024 · 0 comments · Fixed by #3459
Assignees
Labels
C-refactor Category: Refactor

Comments

@prajjwalkumar17
Copy link
Contributor

prajjwalkumar17 commented Jan 24, 2024

Description

This refactor will ensure to be presence of a kill switch(merchant-wise) for Blocklist Feature.
We will always check for a Boolean entry in configs table i.e guard_blocklist_for_{merchant_id} and all the blocklist flows(validation & fingerprint generation) will only run if the variable is set to be true.
Else if the data is not present it will take it false(as default) and blocklist flows will be disabled.

Testing steps

For testing when the blocklist flows are disabled(That are by default) :

1. Create a payment
2. Confirm it
After a successful confirm the `fingerprint` entry in the response should be null.

For testing when the blocklist flows are enabled :

1. Set/Create the entry `guard_blocklist_for_{merchant_id}` in configs table and set it to true.

After this all further testing steps can be followed from the parent issue

@prajjwalkumar17 prajjwalkumar17 self-assigned this Jan 25, 2024
@prajjwalkumar17 prajjwalkumar17 changed the title [REFACTOR] Inclusion of kill switch in business_profile db [REFACTOR] Inclusion of kill switch in configs table Jan 25, 2024
@prajjwalkumar17 prajjwalkumar17 linked a pull request Jan 25, 2024 that will close this issue
15 tasks
@prajjwalkumar17 prajjwalkumar17 added the C-refactor Category: Refactor label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-refactor Category: Refactor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant