feat(core): api ,domain and diesel model changes for extended authorization#6607
Merged
Gnanasundari24 merged 46 commits intomainfrom Feb 18, 2025
Merged
feat(core): api ,domain and diesel model changes for extended authorization#6607Gnanasundari24 merged 46 commits intomainfrom
Gnanasundari24 merged 46 commits intomainfrom
Conversation
jarnura
previously approved these changes
Feb 14, 2025
ThisIsMani
previously approved these changes
Feb 14, 2025
96dca90
f8c8815 to
eeb744a
Compare
eeb744a to
79ebec2
Compare
This reverts commit 79ebec2.
jarnura
approved these changes
Feb 17, 2025
racnan
approved these changes
Feb 17, 2025
pixincreate
added a commit
that referenced
this pull request
Feb 21, 2025
* 'main' of github.com:juspay/hyperswitch: fix(connector): [DATATRANS] Fix Force Sync Flow (#7331) chore(version): 2025.02.21.0 fix(connector): [DATATRANS] Add new payment status (#7327) feat(router): [Xendit] add support for split payments (#7143) fix(payment_methods_v2): update fingerprint implementation in v2 (#7270) feat(router): Add Payments - List endpoint for v2 (#7191) feat(core): add support for confirmation flow for click to pay (#6982) chore(version): 2025.02.20.0 fix(connector): [SCRIPT] Update template generating script and updated connector doc (#7301) ci(cypress): add assertions for `requires_cvv` (#7296) refactor(utils): match string for state with SDK's naming convention (#7300) feat(core): add hypersense integration api (#7218) chore(version): 2025.02.19.0 feat(connector): [Moneris] Add payments flow (#7249) feat(core): api ,domain and diesel model changes for extended authorization (#6607) feat(payments): [Payment links] Add configs for payment link (#7288)
14 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
About Extended Authentication.
Extended authorization allows merchants to extend the hold period on customer funds beyond the standard authorization window, ensuring availability for delayed or longer-term transactions.
Typically, when a payment is authorized (e.g., for a credit or debit card transaction), the issuing bank places a hold on the funds for a limited period—usually 7-10 days for most transactions, whereas extended validity periods can go up to 30 days depending on the card network.
Use- cases:
Capabilities/Changes required at Hyperswitch:
Changes in this PR
API contract changes:
request_extended_authorizationbooleanalways_request_extended_authorizationbooleanDB changes:
request_extended_authorizationboolean field to be introduced in payment_intentrequest_extended_authorizationandextended_authorization_appliedboolean fields to be introduced in payment_attemptcapture_beforedate field to be introduced in payment_attemptalways_request_extended_authorizationboolean field to be introduced in business_profiles tableOther Changes:
128-column-tablesfeature for diesel import indiesel_modelsandcommon_enums. As a result, compile time increased by an average of 40%.Additional Changes
Motivation and Context
How did you test it?
This cannot be tested since the feature is incomplete.
Checklist
cargo +nightly fmt --allcargo clippy