-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat: expire client secret after a merchant configurable intent fufliment time #956
Merged
Conversation
This file contains 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
prajjwalkumar17
added
C-feature
Category: Feature request or enhancement
S-waiting-on-review
Status: This PR has been implemented and needs to be reviewed
M-database-changes
Metadata: This PR involves database schema changes
A-performance
Area: Performance optimisation
labels
Apr 22, 2023
prajjwalkumar17
requested review from
SanchithHegde,
dracarys18,
Narayanbhat166 and
NishantJoshi00
April 22, 2023 07:29
prajjwalkumar17
requested review from
a team,
jarnura and
ashokkjag
as code owners
April 22, 2023 07:29
Need more refactorings |
… during the account creation feat(client_secret): add client secret expiry
prajjwalkumar17
force-pushed
the
feat/client_secret_expiry
branch
from
April 22, 2023 12:27
06dc730
to
5a3d11e
Compare
Narayanbhat166
requested changes
Apr 23, 2023
migrations/2023-04-19-072152_merchant_account_add_intent_fulfilment_time/up.sql
Outdated
Show resolved
Hide resolved
prajjwalkumar17
added
S-waiting-on-author
Status: This PR is incomplete or needs to address review comments
and removed
S-waiting-on-review
Status: This PR has been implemented and needs to be reviewed
labels
Apr 23, 2023
jarnura
previously approved these changes
May 2, 2023
jarnura
added
S-ready-for-merge
and removed
S-waiting-on-review
Status: This PR has been implemented and needs to be reviewed
R-waiting-on-L2
Review: Waiting on L2 reviewer
labels
May 2, 2023
github-merge-queue
bot
removed this pull request from the merge queue due to no response for status checks
May 2, 2023
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
May 3, 2023
prajjwalkumar17
dismissed stale reviews from Abhicodes-crypto, SanchithHegde, and jarnura
via
May 3, 2023 09:53
0fea8a3
jarnura
approved these changes
May 3, 2023
dracarys18
approved these changes
May 3, 2023
SanchithHegde
removed
S-ready-for-merge
R-L1-completed
Review: L1 Review completed
labels
May 3, 2023
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-performance
Area: Performance optimisation
C-feature
Category: Feature request or enhancement
M-api-contract-changes
Metadata: This PR involves API contract changes
M-database-changes
Metadata: This PR involves database schema changes
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.
Type of Change
Description
We have added a new Optional field in MerchantAccount table i.e intent_fulfillment_time that will set by the merchant during the account creation and by default it is of 900secs(15 mins). So If the intent is set then the customer needs to fulfill it within that time limit or else it will expire and throw client_secret_expired
Additional Changes
How did you test it?
Written 3 tests which verifies
Checklist
cargo +nightly fmt --all
cargo clippy